[PATCH] fix warning: remove unused variable

Du Huanpeng u74147 at gmail.com
Sun Nov 22 04:31:32 PST 2015


Signed-off-by: Du Huanpeng <u74147 at gmail.com>
---
 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




More information about the barebox mailing list