aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/os/shell.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/os/shell.c b/src/nvim/os/shell.c
index 5859254c1b..2de3b1aeed 100644
--- a/src/nvim/os/shell.c
+++ b/src/nvim/os/shell.c
@@ -63,6 +63,8 @@ char **shell_build_argv(const char *cmd, const char *extra_args)
rv[i] = NULL;
+ assert(rv[0]);
+
return rv;
}