Skip to content

Commit a6e3b5e

Browse files
committed
Fix typo in one of the alert messages from RULE-8-2
1 parent d79970f commit a6e3b5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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 not specifiy void for no parameters present."
48+
msg = "Function " + f + " does not specify 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: 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 not specifiy void for no parameters present. |
2+
| test.c:4:6:4:7 | f2 | Function f2 does not specify 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)