diff options
-rw-r--r-- | src/systemctl/systemctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index c5166d568b..3170b800c5 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -678,7 +678,7 @@ static int list_sockets(sd_bus *bus, char **args) { struct socket_info *s; unsigned cs = 0; size_t size = 0; - int r, n; + int r = 0, n; pager_open_if_enabled(); |