diff options
author | Lutz Helwing <lutz_helwing@mentor.com> | 2015-10-09 14:58:32 +0200 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2015-10-28 11:38:00 +0100 |
commit | 2355ca4927cffd8307fdb78aaadeb584450bef21 (patch) | |
tree | 8b681db88138ab259f3994cbe6943e6030a5eb1f /src/daemon/dlt_daemon_client.c | |
parent | fb99b7875dfe64a4073aa14f33c551098632847c (diff) | |
download | DLT-daemon-2355ca4927cffd8307fdb78aaadeb584450bef21.tar.gz |
Got rid of warnings from some older compilers
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'src/daemon/dlt_daemon_client.c')
-rw-r--r-- | src/daemon/dlt_daemon_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/dlt_daemon_client.c b/src/daemon/dlt_daemon_client.c index e6135e3..e1cf841 100644 --- a/src/daemon/dlt_daemon_client.c +++ b/src/daemon/dlt_daemon_client.c @@ -1183,7 +1183,7 @@ int dlt_daemon_control_message_timezone(int sock, DltDaemon *daemon, DltDaemonLo resp->status = DLT_SERVICE_RESPONSE_OK; time_t t = time(NULL); - struct tm lt = {0}; + struct tm lt; localtime_r(&t, <); #if !defined(__CYGWIN__) resp->timezone = (int32_t) lt.tm_gmtoff; |