From 131dad60b0fbe4b7ae3a0b54f49caaf1f7b42d35 Mon Sep 17 00:00:00 2001 From: Tomasz Iwanek Date: Wed, 6 Mar 2013 11:43:59 +0100 Subject: [PATCH] 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 --- tests/core/test_scoped_dir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- 2.7.4