Skip to content

Commit 8c31c8c

Browse files
format c
1 parent 9492933 commit 8c31c8c

File tree

1 file changed

+2
-2
lines changed
  • c/misra/test/rules/RULE-2-8

1 file changed

+2
-2
lines changed

c/misra/test/rules/RULE-2-8/test.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ void f9() {
113113
}
114114

115115
// Const variable tests:
116-
const int g9 = 1; // COMPLIANT
116+
const int g9 = 1; // COMPLIANT
117117
const int g10 = 1; // NON-COMPLIANT
118118

119119
void f10() {
@@ -125,7 +125,7 @@ void f10() {
125125

126126
// Side effects should not disable this rule:
127127
void f11() {
128-
int l1 = 1; // COMPLIANT
128+
int l1 = 1; // COMPLIANT
129129
int l2 = l1++; // COMPLIANT
130130
l2;
131131
}

0 commit comments

Comments
 (0)