From 468a13044738f49bf9a385724bcfd7d0cd57597e Mon Sep 17 00:00:00 2001 From: Alexander Mai Date: Tue, 2 Feb 2016 09:18:58 +0100 Subject: [PATCH] Fix compiler warnings introduced by refactoring --- test/testmemleak.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/testmemleak.cpp b/test/testmemleak.cpp index 1eff8b613..5ce296949 100644 --- a/test/testmemleak.cpp +++ b/test/testmemleak.cpp @@ -5312,7 +5312,7 @@ private: " struct s f2;\n" " f2.a = malloc(100);\n" " *f1 = f2;\n" - "}", "test.c"); + "}", false); ASSERT_EQUALS("", errout.str()); } @@ -5356,7 +5356,7 @@ private: " A a = { 0 };\n" " a.foo = (char *) malloc(10);\n" " assign(&a);\n" - "}", "test.c"); + "}", false); ASSERT_EQUALS("", errout.str()); } @@ -5366,7 +5366,7 @@ private: " struct ABC *abc = malloc(100);\n" " abc.a = (char *) malloc(10);\n" " list_add_tail(&abc->list, head);\n" - "}", "test.c"); + "}", false); ASSERT_EQUALS("", errout.str()); } @@ -5377,7 +5377,7 @@ private: " struct ABC abc;\n" " abc.a = (char *) malloc(10);\n" " a(abc.a);\n" - "}", "test.c"); + "}", false); ASSERT_EQUALS("", errout.str()); }