From: Zbigniew Jędrzejewski-Szmek Date: Wed, 6 May 2015 04:44:52 +0000 (-0500) Subject: timedated: remove unnecessary goto X-Git-Tag: v220~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2bf5007a97bf5993128a6e16105005f819b60cf;p=thirdparty%2Fsystemd.git timedated: remove unnecessary goto Not needed since 99f861310d3f05f4. --- diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c index 187522e5964..c5ebb4ab749 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;