summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qtenvironmentvariables.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/global/qtenvironmentvariables.cpp')
-rw-r--r--src/corelib/global/qtenvironmentvariables.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qtenvironmentvariables.cpp b/src/corelib/global/qtenvironmentvariables.cpp
index 6a501bb8c42..47fc8f7eecc 100644
--- a/src/corelib/global/qtenvironmentvariables.cpp
+++ b/src/corelib/global/qtenvironmentvariables.cpp
@@ -377,6 +377,7 @@ bool qLocalTime(time_t utc, struct tm *local)
tzset();
if (tm *res = localtime_r(&utc, local)) {
Q_ASSERT(res == local);
+ Q_UNUSED(res);
return true;
}
return false;