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 <jwbo...@linux.vnet.ibm.com>

Acked-by: David Gibson <da...@gibson.dropbear.id.au>

Jon, please apply.

-- 
David Gibson                    | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
                                | _way_ _around_!
http://www.ozlabs.org/~dgibson
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to