summaryrefslogtreecommitdiffstats
path: root/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd.c b/cmd.c
index 5647a861..123fd366 100644
--- a/cmd.c
+++ b/cmd.c
@@ -502,7 +502,7 @@ cmd_parse(struct args_value *values, u_int count, const char *file, u_int line,
const struct cmd_entry *entry;
struct cmd *cmd;
struct args *args;
- char *error;
+ char *error = NULL;
if (count == 0 || values[0].type != ARGS_STRING) {
xasprintf(cause, "no command");