Skip to content

Commit d5d6d7f

Browse files
committed
Running astyle, no functional changes.
1 parent 5b347c5 commit d5d6d7f

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

lib/checkbufferoverrun.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1721,7 +1721,7 @@ void CheckBufferOverrun::arrayIndexThenCheck()
17211721
if (tok->type() == Token::eComparisonOp)
17221722
tok = tok->tokAt(2);
17231723

1724-
if (!tok)
1724+
if (!tok)
17251725
break;
17261726
// skip close parentheses
17271727
if (tok->str() == ")")

lib/checkstring.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ void CheckString::checkAlwaysTrueOrFalseStringCompare()
9898
alwaysTrueFalseStringCompareError(tok, str1, str2);
9999
tok = tok->tokAt(5);
100100
}
101-
if (!tok)
102-
break;
101+
if (!tok)
102+
break;
103103
}
104104
}
105105

test/testgarbage.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ class TestGarbage : public TestFixture {
9090
TEST_CASE(garbageCode49); // #6715
9191
TEST_CASE(garbageCode50); // #6718
9292
TEST_CASE(garbageCode51); // #6719
93-
TEST_CASE(garbageCode52); // #6720
94-
TEST_CASE(garbageCode53); // #6721
93+
TEST_CASE(garbageCode52); // #6720
94+
TEST_CASE(garbageCode53); // #6721
9595

9696
TEST_CASE(garbageValueFlow);
9797
TEST_CASE(garbageSymbolDatabase);
@@ -517,11 +517,11 @@ class TestGarbage : public TestFixture {
517517
checkCode(" (const \"C\" ...); struct base { int f2; base (int arg1, int arg2); }; global_base(0x55, 0xff); { ((global_base.f1 0x55) (global_base.f2 0xff)) { } } base::base(int arg1, int arg2) { f2 = }");
518518
}
519519

520-
void garbageCode52() { // #6720
520+
void garbageCode52() { // #6720
521521
checkCode("a \"b\" not_eq \"c\"");
522522
}
523523

524-
void garbageCode53() { // #6721
524+
void garbageCode53() { // #6721
525525
checkCode("{ { } }; void foo (struct int i) { x->b[i] = = }");
526526
}
527527

0 commit comments

Comments
 (0)