diff --git a/system/hexed/src/hexed.c b/system/hexed/src/hexed.c index ef2137349..a9a682576 100644 --- a/system/hexed/src/hexed.c +++ b/system/hexed/src/hexed.c @@ -229,7 +229,7 @@ int parseargs(FAR char *argv[]) FAR struct command_s *cmd; FAR char *fname; FAR char *opt; - int optc; + int optc = 0; fname = NULL; cmd = g_cmdtbl;