summaryrefslogtreecommitdiffstats
path: root/cmd.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-09-10 02:01:12 +0100
committerThomas Adam <thomas@xteddy.org>2021-09-10 02:01:12 +0100
commit31a6e5eff493c11d585cb18a6d58d2666cad6b75 (patch)
treef60e442da170c28633b7b9d35a64b8c7dcfe2190 /cmd.c
parent42b0be4cfdb07c15e0b658e6075b3d77d24f8d57 (diff)
parent768fb9080ff757fc05c3af05e596083e2ba5851f (diff)
Merge branch 'obsd-master' into master
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 44952d11..f8027dfe 100644
--- a/cmd.c
+++ b/cmd.c
@@ -501,7 +501,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");