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 3170b800c57648d167bb97b495d178f0970cae37..0e833ab538ba1e91f4891100ae03dd4a9fe76843 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();