summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2012-10-11 08:36:00 +0000
committer smf- <smf-@users.noreply.github.com>2012-10-11 08:36:00 +0000
commit6c478282fd768829e561d723eff973f2b5fdef14 (patch)
tree171365854d92f3b39a04905ef46ab1341edffcb0 /src/tools
parent1f92cf5430442b09773cb82baf1b7e9463a58bbf (diff)
fix potentially uninitialized variable error in MSVC compile (nw)
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/jedutil.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/jedutil.c b/src/tools/jedutil.c
index 30ce53038ac..088677ede57 100644
--- a/src/tools/jedutil.c
+++ b/src/tools/jedutil.c
@@ -2623,6 +2623,8 @@ static int command_convert(int argc, char *argv[])
if (err != 0)
return 1;
+ memset(&jed, 0, sizeof(jed));
+
/* if the source is JED or PLA, convert to binary */
if (src_is_jed || src_is_pla)
{