summaryrefslogtreecommitdiffstats
path: root/src/fiasco.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-08-13 11:57:30 +0200
committerPali Rohár <pali.rohar@gmail.com>2012-08-13 11:57:30 +0200
commitd0d249c7385af856a2434f8911bce49ab225af1e (patch)
tree794ebf1c7cad2caca551c31ce043f94379154bc2 /src/fiasco.c
parentdb546a17b86f9a4293d55060155100b73b912e6b (diff)
download0xFFFF-d0d249c7385af856a2434f8911bce49ab225af1e.tar.bz2
fiasco: Fixed compile warnings
Diffstat (limited to 'src/fiasco.c')
-rw-r--r--src/fiasco.c6
1 files changed, 3 insertions, 3 deletions
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;