diff options
author | Roy Marples <roy@marples.name> | 2008-03-17 16:42:31 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-17 16:42:31 +0000 |
commit | c74cfabe2e066a1bbf7fb8e6dfe652fe012c70bf (patch) | |
tree | ae90a3319362abbf2175e98e71a47c9fc78b20f4 /src/librc/librc.c | |
parent | 5d77c0db6b8641b39a27b0824fc3a7e075d38ff5 (diff) |
init some vars.
Diffstat (limited to 'src/librc/librc.c')
-rw-r--r-- | src/librc/librc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librc/librc.c b/src/librc/librc.c index df6ab9c0..cb75521f 100644 --- a/src/librc/librc.c +++ b/src/librc/librc.c @@ -840,7 +840,7 @@ librc_hidden_def(rc_services_in_runlevel) RC_STRINGLIST *rc_services_in_state(RC_SERVICE state) { RC_STRINGLIST *services; - RC_STRINGLIST *list; + RC_STRINGLIST *list = NULL; RC_STRINGLIST *dirs; RC_STRING *d; char dir[PATH_MAX]; @@ -935,7 +935,7 @@ librc_hidden_def(rc_service_delete) RC_STRINGLIST *rc_services_scheduled_by(const char *service) { RC_STRINGLIST *dirs = ls_dir(RC_SVCDIR "/scheduled", 0); - RC_STRINGLIST *list; + RC_STRINGLIST *list = NULL; RC_STRING *dir; char file[PATH_MAX]; |