From fa801a69a2660a15bffe409f422364c011c7534f Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 19 Apr 2014 09:30:33 +0200 Subject: -Werror,-Wunused-result Change-Id: I8ec20e6a391bd835097af9be44a174e8e7b19cce --- test/source/bootstrapfixture.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') 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); -- cgit