From: Tomasz Iwanek Date: Wed, 6 Mar 2013 10:43:59 +0000 (+0100) Subject: tests - Return value not used X-Git-Tag: submit/trunk/20130307.000716~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=131dad60b0fbe4b7ae3a0b54f49caaf1f7b42d35;p=platform%2Fframework%2Fweb%2Fwrt-commons.git tests - Return value not used [Issue#] N/A [Bug] return valeu not used [Cause] N/A [Solution] N/A [Verification] Build repo or check buildbot Change-Id: I2d4b38ef966c62e7314ca374e8cdd1775ede350b --- diff --git a/tests/core/test_scoped_dir.cpp b/tests/core/test_scoped_dir.cpp index 3669203..8cf0c3c 100644 --- a/tests/core/test_scoped_dir.cpp +++ b/tests/core/test_scoped_dir.cpp @@ -47,7 +47,7 @@ RUNNER_TEST(ScopedDir_Basic) DPL::ScopedDir dir(path, S_IRUSR | S_IWUSR); std::ostringstream command; command << "touch " << path << "/" << "file.txt"; - system(command.str().c_str()); + (void)system(command.str().c_str()); RUNNER_ASSERT_MSG(access(path, R_OK) == 0, "Directory should be accessible"); RUNNER_ASSERT_MSG(access(path, W_OK) == 0, "Directory should be writable"); }