From 475d817e0230342443203f3b9b3dfe2a45a71779 Mon Sep 17 00:00:00 2001 From: "Hoa V. DINH" Date: Thu, 11 Dec 2014 14:24:03 -0800 Subject: Fixed analyzer issues and warnings (#993 and fixed #992) --- unittest/unittest.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'unittest') diff --git a/unittest/unittest.cpp b/unittest/unittest.cpp index 8cf9908b..cdf02a2c 100644 --- a/unittest/unittest.cpp +++ b/unittest/unittest.cpp @@ -323,6 +323,7 @@ int main(int argc, char ** argv) AutoreleasePool * pool = new AutoreleasePool(); String * path = String::stringWithUTF8Characters(argv[1]); + MCAssert(path != NULL); printf("data path: %s\n", MCUTF8(path)); testMessageBuilder1(path->stringByAppendingPathComponent(MCSTR("builder"))); -- cgit v1.2.3