diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-08-12 06:24:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-12 06:24:10 +0000 |
commit | 5086ffd2e396a75235c019de4e5ff94a87f66ea9 (patch) | |
tree | 7fded574955b234bf61d45e399706add0369b663 | |
parent | 3602bd64b84c20186bb72ce209b8b0023b0c50f9 (diff) | |
parent | 924aaae0883ef8962e0af1a4a57b288519330c9b (diff) | |
download | genimage-5086ffd2e396a75235c019de4e5ff94a87f66ea9.tar.gz genimage-5086ffd2e396a75235c019de4e5ff94a87f66ea9.tar.xz |
Merge pull request #114 from florolf/fix-uninitialized-retval
genimage: initialize return value
-rw-r--r-- | genimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |