[systemd-commits] src/timedate
Dave Reisner
dreisner at kemper.freedesktop.org
Wed Oct 17 12:45:48 PDT 2012
src/timedate/timedatectl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f75cb30bf97f623417cc7ee4b1bcc5c36cdbeb20
Author: Dave Reisner <dreisner at archlinux.org>
Date: Wed Oct 17 15:44:59 2012 -0400
timedatectl: ensure n_zones is initialized
diff --git a/src/timedate/timedatectl.c b/src/timedate/timedatectl.c
index e94a847..2b5822b 100644
--- a/src/timedate/timedatectl.c
+++ b/src/timedate/timedatectl.c
@@ -358,7 +358,7 @@ static int zone_compare(const void *_a, const void *_b) {
static int list_timezones(DBusConnection *bus, char **args, unsigned n) {
_cleanup_fclose_ FILE *f = NULL;
_cleanup_strv_free_ char **zones = NULL;
- size_t n_zones;
+ size_t n_zones = 0;
char **i;
assert(args);
More information about the systemd-commits
mailing list