From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from jdl.com (jdl.com [208.123.74.7]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 8E952B7209 for ; Sun, 17 Jul 2011 23:11:50 +1000 (EST) To: David Gibson Subject: Re: [PATCH] dtc: Remove unused check variable In-reply-to: <20110715135732.GC4368@yookeroo.fritz.box> References: <20110628124709.GC10237@zod.rchland.ibm.com> <20110715135732.GC4368@yookeroo.fritz.box> Date: Sun, 17 Jul 2011 07:36:36 -0500 From: Jon Loeliger Message-Id: Cc: linuxppc-dev@lists.ozlabs.org, Josh Boyer List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > On Tue, Jun 28, 2011 at 08:47:09AM -0400, Josh Boyer wrote: > > Commit 376ab6f2 removed the old style check functionality from DTC, > > however the check option and variable were not removed. This leads to > > build failures when -Werror=unused-but-set-variable is specified: > > > > dtc.c: In function 'main': > > dtc.c:102:17: error: variable 'check' set but not used [-Werror=unused-but-set-variable] > > cc1: all warnings being treated as errors > > make: *** [dtc.o] Error 1 > > make: *** Waiting for unfinished jobs.... > > > > Remove the check variable. > > > > Signed-off-by: Josh Boyer > > Acked-by: David Gibson Applied. jdl