[systemd-commits] src/systemctl

Kay Sievers kay at kemper.freedesktop.org
Mon Nov 11 08:20:56 PST 2013


 src/systemctl/systemctl.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 1823b86ebf955b737fb87372b211fa45ba799a48
Author: Kay Sievers <kay at vrfy.org>
Date:   Mon Nov 11 17:18:51 2013 +0100

    systemctl: warning: ‘r’ may be used uninitialized in this function

diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 3170b80..0e833ab 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -891,8 +891,9 @@ static int list_timers(sd_bus *bus, char **args) {
         struct timer_info *t;
         const UnitInfo *u;
         size_t size = 0;
-        int n, r, c = 0;
+        int n, c = 0;
         dual_timestamp nw;
+        int r = 0;
 
         pager_open_if_enabled();
 



More information about the systemd-commits mailing list