From patchwork Mon Jan 31 05:22:36 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cyril Brulebois X-Patchwork-Id: 518541 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0V5OF5R018813 for ; Mon, 31 Jan 2011 05:24:35 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3A50B9E9B8 for ; Sun, 30 Jan 2011 21:24:15 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from glenfiddich.ikibiki.org (glenfiddich.ikibiki.org [88.191.124.82]) by gabe.freedesktop.org (Postfix) with ESMTP id 1BA259E7BC for ; Sun, 30 Jan 2011 21:22:46 -0800 (PST) Received: from home.ikibiki.org ([88.164.242.219] helo=kitty) by glenfiddich.ikibiki.org with esmtp (Exim 4.69) (envelope-from ) id 1PjmDs-0007h6-Dl; Mon, 31 Jan 2011 06:22:44 +0100 Received: from kibi by kitty with local (Exim 4.72) (envelope-from ) id 1PjmDs-0007PM-4b; Mon, 31 Jan 2011 06:22:44 +0100 From: Cyril Brulebois To: intel-gfx@lists.freedesktop.org Date: Mon, 31 Jan 2011 06:22:36 +0100 Message-Id: <1296451359-28449-2-git-send-email-kibi@debian.org> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1296451359-28449-1-git-send-email-kibi@debian.org> References: <1296451359-28449-1-git-send-email-kibi@debian.org> MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 2/5] xvmc: Silence gcc, add parentheses around assignment. X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 31 Jan 2011 05:24:35 +0000 (UTC) X-MIME-Autoconverted: from base64 to 8bit by demeter1.kernel.org id p0V5OF5R018813 diff --git a/src/xvmc/intel_xvmc_dump.c b/src/xvmc/intel_xvmc_dump.c index 974bcbb..d22d311 100644 --- a/src/xvmc/intel_xvmc_dump.c +++ b/src/xvmc/intel_xvmc_dump.c @@ -38,7 +38,7 @@ void intel_xvmc_dump_open(void) if (xvmc_dump) return; - if (d = getenv("INTEL_XVMC_DUMP")) + if ((d = getenv("INTEL_XVMC_DUMP"))) xvmc_dump = 1; if (xvmc_dump) {