qa: fix a few issues detected by coverity

This commit is contained in:
2017-01-14 17:58:33 +01:00
parent d4157c7e24
commit c4fb99ec38
6 changed files with 18 additions and 12 deletions

View File

@@ -39,6 +39,8 @@ configip(int bargc, char **bargv, int needfs)
memmove(arg, bargv, bargc * sizeof(char*));
arg[bargc] = 0;
buf[0] = 0; /* no default for outin */
print("ipconfig...");
argc = bargc;
argv = arg;