diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2014-12-11 14:24:03 -0800 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2014-12-11 14:24:03 -0800 |
commit | 475d817e0230342443203f3b9b3dfe2a45a71779 (patch) | |
tree | 74803f62785a268e477fb82f96f98fc7e65f1686 /unittest | |
parent | 129a55d2098fbb114fcb7e785b31ce270e9cfda0 (diff) |
Fixed analyzer issues and warnings (#993 and fixed #992)
Diffstat (limited to 'unittest')
-rw-r--r-- | unittest/unittest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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"))); |