* [PATCH] fix warning: remove unused variable
@ 2015-11-22 12:31 Du Huanpeng
2015-11-23 7:25 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Du Huanpeng @ 2015-11-22 12:31 UTC (permalink / raw)
To: barebox; +Cc: Du Huanpeng
Signed-off-by: Du Huanpeng <u74147@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
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] fix warning: remove unused variable
2015-11-22 12:31 [PATCH] fix warning: remove unused variable Du Huanpeng
@ 2015-11-23 7:25 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2015-11-23 7:25 UTC (permalink / raw)
To: Du Huanpeng; +Cc: barebox
On Sun, Nov 22, 2015 at 08:31:32PM +0800, Du Huanpeng wrote:
> Signed-off-by: Du Huanpeng <u74147@gmail.com>
> ---
> common/filetype.c | 1 -
> 1 file changed, 1 deletion(-)
squashed into "common: filetype: do not redetect MBR-type devices as a
FAT-type"
Sascha
>
> 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@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-23 7:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-22 12:31 [PATCH] fix warning: remove unused variable Du Huanpeng
2015-11-23 7:25 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox