diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/getkey.c | 2 | ||||
-rw-r--r-- | src/process.c | 2 | ||||
-rw-r--r-- | src/usernetctl.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/getkey.c b/src/getkey.c index 8f1cc1f6..1305fff9 100644 --- a/src/getkey.c +++ b/src/getkey.c @@ -17,7 +17,7 @@ void reset_term(int x) { int main(int argc, char **argv) { char foo[2]; - char *list; + char *list = NULL; int alarmlen=0; int tp_if,tp_of,tp_lf; int x; diff --git a/src/process.c b/src/process.c index 4ff805ef..585123c4 100644 --- a/src/process.c +++ b/src/process.c @@ -137,7 +137,7 @@ int monitor(char *cmdname, int pid, int numfds, int *fds, int reexec, int quiet, char **cmdargs=NULL; char **tmpargs=NULL; int cmdargc; - char *procpath; + char *procpath = NULL; if (reexec) { procpath=malloc(20*sizeof(char)); diff --git a/src/usernetctl.c b/src/usernetctl.c index 34a6550c..238c0aee 100644 --- a/src/usernetctl.c +++ b/src/usernetctl.c @@ -120,7 +120,7 @@ int main(int argc, char ** argv) { char * ifaceConfig; char * chptr; - char * cmd; + char * cmd = NULL; int report = 0; char tmp; |