From acaa22ff6c37c27265ccd10f89a32e85f882e666 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 6 Jun 2009 14:48:48 +0200 Subject: [PATCH] Refactoring: Simple code cleanup --- test/testfunctionusage.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/testfunctionusage.cpp b/test/testfunctionusage.cpp index 1a9bc561a..e439a22f7 100644 --- a/test/testfunctionusage.cpp +++ b/test/testfunctionusage.cpp @@ -66,7 +66,6 @@ private: " if (f1())\n" " { }\n" "}\n"); - std::string err(errout.str()); ASSERT_EQUALS("", errout.str()); } @@ -76,7 +75,6 @@ private: "{\n" " return f1();\n" "}\n"); - std::string err(errout.str()); ASSERT_EQUALS("", errout.str()); } @@ -95,7 +93,6 @@ private: "{\n" " void (*f)() = cond ? f1 : NULL;\n" "}\n"); - std::string err(errout.str()); ASSERT_EQUALS("", errout.str()); } @@ -106,7 +103,6 @@ private: " if (cond) ;\n" " else f1();\n" "}\n"); - std::string err(errout.str()); ASSERT_EQUALS("", errout.str()); }