the following patch was just integrated into master: commit 617a159ece01279721f74ed3f88927d346650ff9 Author: Nico Huber nico.huber@secunet.com Date: Sun May 26 15:10:01 2013 +0200
Fix two warnings by removing unused code
Fix these warnings:
fs/fsys_cramfs.c: In function 'cramfs_read': fs/fsys_cramfs.c:206:7: warning: variable 'devread_ret' set but not used [-Wunused-but-set-variable] fs/fsys_cramfs.c: In function 'cramfs_dir': fs/fsys_cramfs.c:295:6: warning: variable 'namelen' set but not used [-Wunused-but-set-variable]
by removing the assignments and one unused call to strlen().
Change-Id: Ia2552b24263675bdef44a8c5fde8f67edf107912 Signed-off-by: Nico Huber nico.huber@secunet.com Reviewed-on: http://review.coreboot.org/3299 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc mr.nuke.me@gmail.com
See http://review.coreboot.org/3299 for details.
-gerrit