mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
Initialize local array to NULL
This commit is contained in:
parent
145ca91df2
commit
9a124ae935
|
@ -4039,7 +4039,7 @@ static char *get_output(char *buf, const size_t bytes, char *file, char *arg1, c
|
||||||
FILE *pf;
|
FILE *pf;
|
||||||
int index = 0, flags;
|
int index = 0, flags;
|
||||||
char *ret = NULL;
|
char *ret = NULL;
|
||||||
char *argv[EXEC_ARGS_MAX];
|
char *argv[EXEC_ARGS_MAX] = {0};
|
||||||
char *cmd = NULL;
|
char *cmd = NULL;
|
||||||
|
|
||||||
if (page) {
|
if (page) {
|
||||||
|
|
Loading…
Reference in a new issue