aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-01 09:27:29 +0000
committerRoy Marples <roy@marples.name>2008-03-01 09:27:29 +0000
commitbaf217acc7bd7a8f3212270fb8a3169946a62914 (patch)
tree5688c18fcfa79c60b2dfdbc11627b72626ac1cdb
parentfa993d771126922474efaab5e3ceee0244e0a096 (diff)
Fix unused var.
-rw-r--r--src/librc/librc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librc/librc.c b/src/librc/librc.c
index 552e083d..42779276 100644
--- a/src/librc/librc.c
+++ b/src/librc/librc.c
@@ -782,8 +782,8 @@ char **rc_services_in_runlevel (const char *runlevel)
char **list = NULL;
if (! runlevel) {
- int i;
#ifdef RC_PKG_INITDIR
+ int i;
char **local = ls_dir (RC_PKG_INITDIR, LS_INITD);
#endif