Mark variable only used in Q_ASSERT as unused
Change-Id: Idee2a4772c7c12e293838a647ed768295612f794 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
276bf8cb23
commit
acc6dc9c09
@ -377,6 +377,7 @@ bool qLocalTime(time_t utc, struct tm *local)
|
|||||||
tzset();
|
tzset();
|
||||||
if (tm *res = localtime_r(&utc, local)) {
|
if (tm *res = localtime_r(&utc, local)) {
|
||||||
Q_ASSERT(res == local);
|
Q_ASSERT(res == local);
|
||||||
|
Q_UNUSED(res);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user