[PATCH] fix warning: remove unused variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Du Huanpeng <u74147@xxxxxxxxx>
---
 common/filetype.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/common/filetype.c b/common/filetype.c
index 5229869..8cfae88 100644
--- a/common/filetype.c
+++ b/common/filetype.c
@@ -326,7 +326,6 @@ enum filetype file_name_detect_type(const char *filename)
 	int fd, ret;
 	void *buf;
 	enum filetype type = filetype_unknown;
-	unsigned long bootsec;
 
 	fd = open(filename, O_RDONLY);
 	if (fd < 0)
-- 
1.9.1


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux