From: Cole Robinson Date: Wed, 7 Oct 2015 14:48:45 +0000 (-0400) Subject: tests: eventtest: Fix coverity warning X-Git-Tag: v1.2.21-rc1~98 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a946c50ded37bccab831c75d2969ee82cc8c4ad5;p=thirdparty%2Flibvirt.git tests: eventtest: Fix coverity warning We can ignore the result of virtTestResult here, because failure is unconditionally reported by the callers --- diff --git a/tests/eventtest.c b/tests/eventtest.c index 625be868a4..c4be6060d8 100644 --- a/tests/eventtest.c +++ b/tests/eventtest.c @@ -92,7 +92,7 @@ testEventReport(const char *name, bool failed, const char *msg, ...) data.failed = failed; data.msg = str; - virtTestRun(name, testEventResultCallback, &data); + ignore_value(virtTestRun(name, testEventResultCallback, &data)); va_end(vargs); VIR_FREE(str);