summaryrefslogtreecommitdiffstats
path: root/src/timedate/timedated.c
diff options
context:
space:
mode:
authorTobias Jungel <Tobias.Jungel@gmail.com>2018-04-20 13:31:17 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-04-20 13:31:17 +0200
commit201b26a3441a46c2acf43d6718c01f1df173f014 (patch)
tree8293a5f028befa52b5c45971dc8552dde56fab2d /src/timedate/timedated.c
parentnetworkd: add support to configure IPv6 MTU (#8664) (diff)
downloadsystemd-201b26a3441a46c2acf43d6718c01f1df173f014.tar.xz
systemd-201b26a3441a46c2acf43d6718c01f1df173f014.zip
remove unused variables (#8768)
clang 5.0 complains with -Wunused-variable
Diffstat (limited to 'src/timedate/timedated.c')
-rw-r--r--src/timedate/timedated.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c
index f479b0ab7f..59a642cac7 100644
--- a/src/timedate/timedated.c
+++ b/src/timedate/timedated.c
@@ -83,7 +83,6 @@ static void context_free(Context *c) {
}
static int context_add_ntp_service(Context *c, const char *s) {
- _cleanup_free_ char *name = NULL;
UnitStatusInfo *u;
if (!unit_name_is_valid(s, UNIT_NAME_PLAIN))
@@ -322,7 +321,6 @@ static int context_update_ntp_status(Context *c, sd_bus *bus, sd_bus_message *m)
LIST_FOREACH(units, u, c->units) {
_cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;
- _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL;
_cleanup_free_ char *path = NULL;
unit_status_info_clear(u);