Fix warning: returning non void by using Q_UNREACHABLE
Change-Id: I08e5b629582b1286c57f6c5f991e2adaf431daa4 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Mitch Curtis <mitch.curtis@nokia.com>bb10
parent
ab536c3c71
commit
0e9f5dc30c
|
|
@ -1854,6 +1854,8 @@ QTime fromStringImpl(const QString &s, Qt::DateFormat f, bool &isMidnight24)
|
|||
return QTime(hour, minute, second, qMin(qRound(msec * 1000.0), 999));
|
||||
}
|
||||
}
|
||||
Q_UNREACHABLE();
|
||||
return QTime();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue