Merge pull request #821 from runcom/warnings
libcontainer: nsenter: nsexec.c: fix warnings
This commit is contained in:
commit
f0ec80b93c
|
@ -302,7 +302,7 @@ static struct nsenter_config process_nl_attributes(int pipenum, char *data, int
|
||||||
int fds[nslen];
|
int fds[nslen];
|
||||||
char *nslist[nslen];
|
char *nslist[nslen];
|
||||||
char *ns;
|
char *ns;
|
||||||
char *saveptr;
|
char *saveptr = NULL;
|
||||||
|
|
||||||
for (i = 0; i < nslen; i++) {
|
for (i = 0; i < nslen; i++) {
|
||||||
char *str = NULL;
|
char *str = NULL;
|
||||||
|
|
Loading…
Reference in New Issue