Refactoring: Simple code cleanup

This commit is contained in:
Daniel Marjamäki 2009-06-06 14:48:48 +02:00
parent 9bc8fb8eec
commit acaa22ff6c
1 changed files with 0 additions and 4 deletions

View File

@ -66,7 +66,6 @@ private:
" if (f1())\n" " if (f1())\n"
" { }\n" " { }\n"
"}\n"); "}\n");
std::string err(errout.str());
ASSERT_EQUALS("", errout.str()); ASSERT_EQUALS("", errout.str());
} }
@ -76,7 +75,6 @@ private:
"{\n" "{\n"
" return f1();\n" " return f1();\n"
"}\n"); "}\n");
std::string err(errout.str());
ASSERT_EQUALS("", errout.str()); ASSERT_EQUALS("", errout.str());
} }
@ -95,7 +93,6 @@ private:
"{\n" "{\n"
" void (*f)() = cond ? f1 : NULL;\n" " void (*f)() = cond ? f1 : NULL;\n"
"}\n"); "}\n");
std::string err(errout.str());
ASSERT_EQUALS("", errout.str()); ASSERT_EQUALS("", errout.str());
} }
@ -106,7 +103,6 @@ private:
" if (cond) ;\n" " if (cond) ;\n"
" else f1();\n" " else f1();\n"
"}\n"); "}\n");
std::string err(errout.str());
ASSERT_EQUALS("", errout.str()); ASSERT_EQUALS("", errout.str());
} }