diff --git a/scripts/kwboot.c b/scripts/kwboot.c index 81da3e81b..e06866052 100644 --- a/scripts/kwboot.c +++ b/scripts/kwboot.c @@ -552,7 +552,6 @@ kwboot_mmap_image(const char *path, size_t *size, int prot) void *img; rc = -1; - fd = -1; img = NULL; fd = open(path, O_RDONLY);