From 6913f1deb61b19ffa62614673794746caed443a7 Mon Sep 17 00:00:00 2001 From: Christian Ruppert Date: Sun, 12 Feb 2012 20:37:05 +0100 Subject: Fix some more warnings --- src/librc/librc.c | 2 +- src/rc/runscript.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librc/librc.c b/src/librc/librc.c index 13c19731..d82880fb 100644 --- a/src/librc/librc.c +++ b/src/librc/librc.c @@ -492,7 +492,7 @@ rc_service_exists(const char *service) { char *file; bool retval = false; - int len; + size_t len; struct stat buf; if (!service) { diff --git a/src/rc/runscript.c b/src/rc/runscript.c index b0d80849..e504e4a9 100644 --- a/src/rc/runscript.c +++ b/src/rc/runscript.c @@ -75,7 +75,7 @@ #define WARN_TIMEOUT 10 /* warn about this every N seconds */ static const char *applet; -static char *service, *runlevel, *ibsave, *prefix;; +static char *service, *runlevel, *ibsave, *prefix; static RC_DEPTREE *deptree; static RC_STRINGLIST *applet_list, *services, *tmplist; static RC_STRINGLIST *restart_services, *need_services, *use_services; -- cgit v1.2.3