diff --git a/test/testpreprocessor.cpp b/test/testpreprocessor.cpp index 4e1f398ff..ce16be567 100644 --- a/test/testpreprocessor.cpp +++ b/test/testpreprocessor.cpp @@ -3863,11 +3863,11 @@ private: // #ifdef A // a |= A; // <- using macro. must use -D so "A" will get a proper value errout.str(""); - Settings settings1; - settings = settings1; + Settings settings1; + settings = settings1; ASSERT_EQUALS("", preprocessor.getcode("if (x) a|=A;", "A", "test.c")); ASSERT_EQUALS("", errout.str()); - settings.addEnabled("information"); + settings.addEnabled("information"); ASSERT_EQUALS("", preprocessor.getcode("if (x) a|=A;", "A", "test.c")); ASSERT_EQUALS("[test.c:1]: (information) Skipping configuration 'A' since the value of 'A' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.\n", errout.str()); }