summaryrefslogtreecommitdiff
path: root/src/timedate
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-05-05 23:44:52 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-05-06 00:44:52 -0400
commitf2bf5007a97bf5993128a6e16105005f819b60cf (patch)
treea3a8159e84e8970d06f0c94b0a3a86c718ac4dea /src/timedate
parentf44b28fda0a9ac88b0b20c475fc1d2f2036e7f71 (diff)
timedated: remove unnecessary goto
Not needed since 99f861310d3f05f4.
Diffstat (limited to 'src/timedate')
-rw-r--r--src/timedate/timedated.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c
index 187522e596..c5ebb4ab74 100644
--- a/src/timedate/timedated.c
+++ b/src/timedate/timedated.c
@@ -87,12 +87,9 @@ static int context_read_data(Context *c) {
c->zone = strdup(e);
if (!c->zone)
return log_oom();
-
- goto have_timezone;
}
}
-have_timezone:
if (isempty(c->zone)) {
free(c->zone);
c->zone = NULL;