From 9e5beab4a83d310d251da6348a93d14f54fd0d69 Mon Sep 17 00:00:00 2001 From: Edoardo Prezioso Date: Thu, 20 Oct 2011 21:46:34 +0200 Subject: [PATCH] Nitpicky fix of the missing ';' after the memset command inside the test case. --- test/testother.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testother.cpp b/test/testother.cpp index 8de67f356..e35a0e959 100644 --- a/test/testother.cpp +++ b/test/testother.cpp @@ -2698,14 +2698,14 @@ private: void memsetZeroBytes() { check("void f() {\n" - " memset(p, 10, 0)\n" + " memset(p, 10, 0);\n" "}\n" ); ASSERT_EQUALS("[test.cpp:2]: (warning) memset() called to fill 0" " bytes of \'p\'\n", errout.str()); check("void f() {\n" - " memset(p, sizeof(p), 0)\n" + " memset(p, sizeof(p), 0);\n" "}\n" ); TODO_ASSERT_EQUALS("[test.cpp:2]: (warning) memset() called to fill 0"