[PATCH] fix warning: remove unused variable
Sascha Hauer
s.hauer at pengutronix.de
Sun Nov 22 23:25:47 PST 2015
On Sun, Nov 22, 2015 at 08:31:32PM +0800, Du Huanpeng wrote:
> Signed-off-by: Du Huanpeng <u74147 at 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 at 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 |
More information about the barebox
mailing list