Win: Get rid of unused variables un QDateTime::currentMSecsSinceEpoch
The compiler didn't complain that they were unused or -Werror / -WX was not active. Change-Id: Ib57b52598e2f452985e9fffd145a7b63a32189fd Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
This commit is contained in:
parent
0f4affc0b1
commit
f4be16e1f7
@ -4118,8 +4118,6 @@ QDateTime QDateTime::currentDateTimeUtc()
|
|||||||
|
|
||||||
qint64 QDateTime::currentMSecsSinceEpoch() Q_DECL_NOTHROW
|
qint64 QDateTime::currentMSecsSinceEpoch() Q_DECL_NOTHROW
|
||||||
{
|
{
|
||||||
QDate d;
|
|
||||||
QTime t;
|
|
||||||
SYSTEMTIME st;
|
SYSTEMTIME st;
|
||||||
memset(&st, 0, sizeof(SYSTEMTIME));
|
memset(&st, 0, sizeof(SYSTEMTIME));
|
||||||
GetSystemTime(&st);
|
GetSystemTime(&st);
|
||||||
|
Loading…
Reference in New Issue
Block a user