From d0d249c7385af856a2434f8911bce49ab225af1e Mon Sep 17 00:00:00 2001 From: Pali Rohár Date: Mon, 13 Aug 2012 11:57:30 +0200 Subject: fiasco: Fixed compile warnings --- src/fiasco.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/fiasco.c b/src/fiasco.c index fb6a81b..3aa0d78 100644 --- a/src/fiasco.c +++ b/src/fiasco.c @@ -477,9 +477,9 @@ int fiasco_write_to_file(struct fiasco * fiasco, const char * file) { int fiasco_unpack(struct fiasco * fiasco, const char * dir) { - int fd; - char * name; - char * layout_name; + int fd = -1; + char * name = NULL; + char * layout_name = NULL; struct image * image; struct image_list * image_list; uint32_t size; -- cgit v1.2.3