summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-04-13 09:40:36 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-04-14 06:49:35 +0200
commit924937cbc0bf692bc6e5b3a0bd3c18347d9521e9 (patch)
treef28d9c214c8efc4734f27ee4661b21f17c706a13 /src
parentMerge pull request #27254 from poettering/cmsg-align-check (diff)
downloadsystemd-924937cbc0bf692bc6e5b3a0bd3c18347d9521e9.tar.xz
systemd-924937cbc0bf692bc6e5b3a0bd3c18347d9521e9.zip
timesync: drop unnecessary initialization
Diffstat (limited to 'src')
-rw-r--r--src/timesync/timesyncd-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timesync/timesyncd-manager.c b/src/timesync/timesyncd-manager.c
index b8cc6f4ead..e024fa9715 100644
--- a/src/timesync/timesyncd-manager.c
+++ b/src/timesync/timesyncd-manager.c
@@ -411,7 +411,7 @@ static int manager_receive_response(sd_event_source *source, int fd, uint32_t re
.msg_name = &server_addr,
.msg_namelen = sizeof(server_addr),
};
- struct timespec *recv_time = NULL;
+ struct timespec *recv_time;
triple_timestamp dts;
ssize_t len;
double origin, receive, trans, dest, delay, offset, root_distance;