Re: [PATCH] dtc: Remove unused variable in flat_read_mem_reserve

2011-06-28 Thread Josh Boyer
On Tue, Jun 28, 2011 at 09:42:53AM -0400, Josh Boyer wrote: >The *p variable is declared and used to save inb->ptr, however p is >later never used. This has been the case since commit 6c0f3676 and can >lead to build failures with -Werror=unused-but-set-variable: > > flattree.c: In function '

[PATCH] dtc: Remove unused variable in flat_read_mem_reserve

2011-06-28 Thread Josh Boyer
The *p variable is declared and used to save inb->ptr, however p is later never used. This has been the case since commit 6c0f3676 and can lead to build failures with -Werror=unused-but-set-variable: flattree.c: In function 'flat_read_mem_reserve': flattree.c:700:14: error: variab