tests - Return value not used
authorTomasz Iwanek <t.iwanek@samsung.com>
Wed, 6 Mar 2013 10:43:59 +0000 (11:43 +0100)
committerGerrit Code Review <gerrit2@kim11>
Wed, 6 Mar 2013 12:49:37 +0000 (21:49 +0900)
[Issue#]       N/A
[Bug]          return valeu not used
[Cause]        N/A
[Solution]     N/A
[Verification] Build repo or check buildbot

Change-Id: I2d4b38ef966c62e7314ca374e8cdd1775ede350b

tests/core/test_scoped_dir.cpp

index 3669203..8cf0c3c 100644 (file)
@@ -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");
     }