summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-11-11 17:18:51 +0100
committerKay Sievers <kay@vrfy.org>2013-11-11 17:18:51 +0100
commit1823b86ebf955b737fb87372b211fa45ba799a48 (patch)
treed4bcd22e3033c748e935dba1eab87929f55c064c
parentd1811159295f1c6f3bb10b647c7b084b33e9138e (diff)
systemctl: warning: ‘r’ may be used uninitialized in this function
-rw-r--r--src/systemctl/systemctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 3170b800c5..0e833ab538 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();