summaryrefslogtreecommitdiff
path: root/src/daemon/dlt_daemon_client.c
diff options
context:
space:
mode:
authorLutz Helwing <lutz_helwing@mentor.com>2015-10-09 14:58:32 +0200
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2015-10-28 11:38:00 +0100
commit2355ca4927cffd8307fdb78aaadeb584450bef21 (patch)
tree8b681db88138ab259f3994cbe6943e6030a5eb1f /src/daemon/dlt_daemon_client.c
parentfb99b7875dfe64a4073aa14f33c551098632847c (diff)
downloadDLT-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.c2
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, &lt);
#if !defined(__CYGWIN__)
resp->timezone = (int32_t) lt.tm_gmtoff;