diff options
Diffstat (limited to 'src/actions.c')
-rw-r--r-- | src/actions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c index 8796e98..164fa0a 100644 --- a/src/actions.c +++ b/src/actions.c @@ -811,9 +811,10 @@ initialize_default_keybindings (void) cmdret * cmdret_new (int success, char *fmt, ...) { - cmdret *ret = xmalloc (sizeof (cmdret)); + cmdret *ret; va_list ap; + ret = xmalloc (sizeof (cmdret)); ret->success = success; if (fmt) |