init some vars.
This commit is contained in:
parent
5d77c0db6b
commit
c74cfabe2e
@ -238,7 +238,6 @@ RC_PIDLIST *rc_find_pids(const char *const *argv, const char *cmd,
|
||||
RC_PID *pi;
|
||||
pid_t p;
|
||||
const char *const *arg;
|
||||
int npids = 0;
|
||||
int match;
|
||||
|
||||
if ((kd = kvm_openfiles(_KVM_PATH, _KVM_PATH,
|
||||
|
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user