chiark / gitweb /
systemctl: warning: ‘r’ may be used uninitialized in this function
authorKay Sievers <kay@vrfy.org>
Mon, 11 Nov 2013 16:18:51 +0000 (17:18 +0100)
committerKay Sievers <kay@vrfy.org>
Mon, 11 Nov 2013 16:18:51 +0000 (17:18 +0100)
src/systemctl/systemctl.c

index 3170b80..0e833ab 100644 (file)
@@ -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();