From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Sun, 25 Mar 2012 01:30:06 +0100 Subject: [U-Boot] [PATCH] fs/fat/fat_write.c: Fix GCC 4.6 warnings In-Reply-To: <1332633426-1398-1-git-send-email-agust@denx.de> References: <1332427136-13918-1-git-send-email-mvs@tigris.de> <1332633426-1398-1-git-send-email-agust@denx.de> Message-ID: <20120325013006.6fd84ea5@wker> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, 25 Mar 2012 00:57:06 +0100 Anatolij Gustschin wrote: > Fix: > fat_write.c: In function 'find_directory_entry': > fat_write.c:826:8: warning: variable 'prevcksum' set but not used > [-Wunused-but-set-variable] > fat_write.c: In function 'do_fat_write': > fat_write.c:933:6: warning: variable 'root_cluster' set but not used > [-Wunused-but-set-variable] > fat_write.c:925:12: warning: variable 'slotptr' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Anatolij Gustschin > Cc: Donggeun Kim > --- > fs/fat/fat_write.c | 10 +--------- > 1 files changed, 1 insertions(+), 9 deletions(-) I'll push this patch through my staging branch if nobody objects. Thanks, Anatolij