From patchwork Wed Oct 7 14:50:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 54588 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by patches.linaro.org (Postfix) with ESMTPS id 52A0922FEF for ; Wed, 7 Oct 2015 14:53:28 +0000 (UTC) Received: by wicuu12 with SMTP id uu12sf9910295wic.2 for ; Wed, 07 Oct 2015 07:53:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=J2hweaYD9ElK9qzsnhfpyp/rxdBOAdBusJzbvymh+2U=; b=kwS3ThLVJ/emZlskfIZaHL2vkgXfjHdSC5E0dqwtGl1duN99H++otSidcvdROz9q+G eyUB/mU11CFOepA8Lr6PRlvJGcghwgA510TMaxQT3MV4mao+X9HIDg/DK2jo/SCk+ZDx +kLe+xUKbqLEG/GM0PGFCwGkqdYkeL0v8zKWvRSeDQZC0uj+yKxMeiHD6nbwUIN/t5ar BiIe+hsmT5MzJFKxSoby8aB/FFUrnNVmVA7v9tvPqGz2uTsQXCOtBclE+h9ZY84F3mLU HIil7Kk3nKj6+FGfy5D34Q+POTnN1mAwll/HEEwjMMrH45ziyLojL6ZdufGu0KxqkPbE tzAg== X-Gm-Message-State: ALoCoQlwv/q3AjGXujCEzyEDx3iHpHL1hJfi1P9wcb1vtN4TQDn3FDrAmSoB+PhJzD6fqjO4MKlp X-Received: by 10.180.72.68 with SMTP id b4mr487801wiv.2.1444229607655; Wed, 07 Oct 2015 07:53:27 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.21.96 with SMTP id l93ls102465lfi.20.gmail; Wed, 07 Oct 2015 07:53:27 -0700 (PDT) X-Received: by 10.112.150.97 with SMTP id uh1mr680676lbb.53.1444229607470; Wed, 07 Oct 2015 07:53:27 -0700 (PDT) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com. [209.85.217.172]) by mx.google.com with ESMTPS id f10si25467452lbd.66.2015.10.07.07.53.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Oct 2015 07:53:27 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by lbos8 with SMTP id s8so14150594lbo.0 for ; Wed, 07 Oct 2015 07:53:27 -0700 (PDT) X-Received: by 10.25.20.80 with SMTP id k77mr529167lfi.117.1444229606992; Wed, 07 Oct 2015 07:53:26 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp32159lbq; Wed, 7 Oct 2015 07:53:25 -0700 (PDT) X-Received: by 10.129.88.68 with SMTP id m65mr1329263ywb.22.1444229605064; Wed, 07 Oct 2015 07:53:25 -0700 (PDT) Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com. [209.132.183.24]) by mx.google.com with ESMTPS id i127si6811700ywe.154.2015.10.07.07.53.24 (version=TLSv1 cipher=AES128-SHA bits=128/128); Wed, 07 Oct 2015 07:53:25 -0700 (PDT) Received-SPF: pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.24 as permitted sender) client-ip=209.132.183.24; Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id t97EonRp016237; Wed, 7 Oct 2015 10:50:50 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id t97Eom1J027028 for ; Wed, 7 Oct 2015 10:50:48 -0400 Received: from colepc.redhat.com (ovpn-113-60.phx2.redhat.com [10.3.113.60]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t97EolSv010138; Wed, 7 Oct 2015 10:50:48 -0400 From: Cole Robinson To: libvirt-list@redhat.com Date: Wed, 7 Oct 2015 10:50:35 -0400 Message-Id: X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] tests: eventtest: Fix coverity warning X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: crobinso@redhat.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 We can ignore the result of virtTestResult here, because failure is unconditionally reported by the callers --- tests/eventtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/eventtest.c b/tests/eventtest.c index 625be86..c4be606 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);