aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/mkdapimg2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/firmware-utils/src/mkdapimg2.c')
-rw-r--r--tools/firmware-utils/src/mkdapimg2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/mkdapimg2.c b/tools/firmware-utils/src/mkdapimg2.c
index 6b53c959b6..1d09290a16 100644
--- a/tools/firmware-utils/src/mkdapimg2.c
+++ b/tools/firmware-utils/src/mkdapimg2.c
@@ -92,7 +92,8 @@ main(int ac, char *av[])
char region[MAX_REG_LEN];
int kernel = 0;
- FILE *ifile, *ofile;
+ FILE *ifile = NULL;
+ FILE *ofile = NULL;
int c;
uint32_t cksum;