From: Peter Hjalmarsson Subject: Re: Compiling xf86-video-nouveau with -Werror Date: Wed, 06 May 2009 15:43:01 +0200 Message-ID: <1241617379.23516.10.camel@lillen.dodi> References: <1241615256.23516.8.camel@lillen.dodi> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1241615256.23516.8.camel-eMQg5G+HfYU7zld1fzGs+w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org ons 2009-05-06 klockan 15:07 +0200 skrev Peter Hjalmarsson: > Hello. > > I was somewhat bored and started to hunt for compilation warnings. > Attaching a patch for some rather obvious (two unused vars, one uninited > external function). > After actually grepping the code it became obvious that you be better off with for the external function include xf86drmMode.h somewhere, but that I will leave to you.