diff options
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]; |