summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-04-19 09:30:33 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-04-19 11:10:13 +0200
commitfa801a69a2660a15bffe409f422364c011c7534f (patch)
treec896de8aefad6975e6991dd7cda784b54b7f81bc
parent3176bfdc3a872114d290e2de3cc19f30d9e70b88 (diff)
-Werror,-Wunused-result
Change-Id: I8ec20e6a391bd835097af9be44a174e8e7b19cce
-rw-r--r--test/source/bootstrapfixture.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/source/bootstrapfixture.cxx b/test/source/bootstrapfixture.cxx
index c76995af4af8..aacfa8e23c4f 100644
--- a/test/source/bootstrapfixture.cxx
+++ b/test/source/bootstrapfixture.cxx
@@ -163,7 +163,8 @@ void test::BootstrapFixture::validate(const OUString& rPath, test::ValidationFor
OUString aOutputFile = aOutput.GetFileName();
OUString aCommand = aValidator + rPath + " > " + aOutputFile;
- system(OUStringToOString(aCommand, RTL_TEXTENCODING_UTF8).getStr());
+ int returnValue = system(OUStringToOString(aCommand, RTL_TEXTENCODING_UTF8).getStr());
+ (void)returnValue;
OString aContentString = loadFile(aOutput.GetURL());
OUString aContentOUString = OStringToOUString(aContentString, RTL_TEXTENCODING_UTF8);