Skip to contentSkip to conversation

fix warning: remove unused variable

PATCH In review Du Huanpeng 2 participants 2 messages Nov 22, 2015 – Nov 23, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix warning: remove unused variable

---
 common/filetype.c | 1 -
 1 file changed, 1 deletion(-)
common/filetype.c +0 -1
index 5229869..8cfae88 100644
@@ -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)
Signature · 7 lines
1.9.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw
Quoted 4 lines · Du Huanpeng
---
 common/filetype.c | 1 -
 1 file changed, 1 deletion(-)

squashed into "common: filetype: do not redetect MBR-type devices as a FAT-type"

Sascha

Quoted 22 lines
common/filetype.c +0 -1
index 5229869..8cfae88 100644
@@ -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)
Signature · 7 lines
1.9.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox