From patchwork Wed Dec 9 08:57:20 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Doerffel X-Patchwork-Id: 65931 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nB99T6Ee031697 for ; Wed, 9 Dec 2009 09:29:06 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 04D1C9F36E; Wed, 9 Dec 2009 01:29:06 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org X-Greylist: delayed 1897 seconds by postgrey-1.30 at gabe; Wed, 09 Dec 2009 01:29:04 PST Received: from jessica.hrz.tu-chemnitz.de (jessica.hrz.tu-chemnitz.de [134.109.132.47]) by gabe.freedesktop.org (Postfix) with ESMTP id 727449F36C for ; Wed, 9 Dec 2009 01:29:04 -0800 (PST) Received: from vpnclient-202-139.hrz.tu-chemnitz.de ([134.109.202.139] helo=localhost.localdomain) by jessica.hrz.tu-chemnitz.de with esmtpa (Exim 4.69) (envelope-from ) id 1NIIMO-000218-Vs; Wed, 09 Dec 2009 09:57:25 +0100 From: Tobias Doerffel To: intel-gfx@lists.freedesktop.org Date: Wed, 9 Dec 2009 09:57:20 +0100 Message-Id: <1260349040-12585-1-git-send-email-tobias.doerffel@gmail.com> X-Mailer: git-send-email 1.6.5 X-Spam-Score: -1.4 (-) X-Spam-Report: --- Start der SpamAssassin 3.2.5 Textanalyse (-1.4 Punkte) Fragen an/questions to: Postmaster TU Chemnitz -1.4 ALL_TRUSTED Nachricht wurde nur ueber vertrauenswuerdige Rechner weitergeleitet --- Ende der SpamAssassin Textanalyse X-Scan-Signature: 06280db8b748e42b2cf8978feac4b446 Subject: [Intel-gfx] [PATCH] Fix compiler warning in i830_copy_video_data() if XvMC is disabled X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org diff --git a/src/i830_video.c b/src/i830_video.c index b0403d4..2343316 100644 --- a/src/i830_video.c +++ b/src/i830_video.c @@ -1440,7 +1440,9 @@ i830_copy_video_data(ScrnInfoPtr scrn, intel_adaptor_private *adaptor_priv, INT32 x1, INT32 y1, INT32 x2, INT32 y2, int id, unsigned char *buf) { +#ifdef INTEL_XVMC intel_screen_private *intel = intel_get_screen_private(scrn); +#endif int srcPitch = 0, srcPitch2 = 0; int top, left, npixels, nlines, size;