summaryrefslogtreecommitdiffstats
path: root/genimage.c
diff options
context:
space:
mode:
Diffstat (limited to 'genimage.c')
-rw-r--r--genimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/genimage.c b/genimage.c
index 26c000c..530a12d 100644
--- a/genimage.c
+++ b/genimage.c
@@ -147,7 +147,7 @@ struct image *image_get(const char *filename)
*/
static int image_setup(struct image *image)
{
- int ret;
+ int ret = 0;
struct partition *part;
if (image->done < 0)