Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita07448d

Browse files
authored
Merge pull request#456 from jketema/typo-fix
Fix typo in one of the alert messages from RULE-8-2
2 parentsd79970f +7e0e04e commita07448d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

‎c/misra/src/rules/RULE-8-2/FunctionTypesNotInPrototypeForm.ql‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ where
4545
msg="Function "+f+" declares parameter that is unnamed."
4646
or
4747
hasZeroParamDecl(f)and
48-
msg="Function "+f+" does notspecifiy void for no parameters present."
48+
msg="Function "+f+" does notspecify void for no parameters present."
4949
or
5050
//parameters declared in declaration list (not in function signature)
5151
//have placeholder file location associated only
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
| test.c:3:6:3:7 | f1 | Function f1 declares parameter that is unnamed. |
2-
| test.c:4:6:4:7 | f2 | Function f2 does notspecifiy void for no parameters present. |
3-
| test.c:5:6:5:7 | f3 | Function f3 does notspecifiy void for no parameters present. |
2+
| test.c:4:6:4:7 | f2 | Function f2 does notspecify void for no parameters present. |
3+
| test.c:5:6:5:7 | f3 | Function f3 does notspecify void for no parameters present. |
44
| test.c:7:5:7:6 | f5 | Function f5 declares parameter in unsupported declaration list. |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
| test.c:3:6:3:7 | f1 | Function f1 declares parameter that is unnamed. |
2-
| test.c:4:6:4:7 | f2 | Function f2 does notspecifiy void for no parameters present. |
2+
| test.c:4:6:4:7 | f2 | Function f2 does notspecify void for no parameters present. |
33
| test.c:7:5:7:6 | f5 | Function f5 declares parameter in unsupported declaration list. |

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp