projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab536c3
)
Fix warning: returning non void by using Q_UNREACHABLE
author
Frederik Gladhorn
<frederik.gladhorn@nokia.com>
Thu, 28 Jun 2012 11:24:58 +0000
(13:24 +0200)
committer
Qt by Nokia
<qt-info@nokia.com>
Thu, 28 Jun 2012 15:15:17 +0000
(17:15 +0200)
Change-Id: I08e5b629582b1286c57f6c5f991e2adaf431daa4
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Mitch Curtis <mitch.curtis@nokia.com>
src/corelib/tools/qdatetime.cpp
patch
|
blob
|
history
diff --git
a/src/corelib/tools/qdatetime.cpp
b/src/corelib/tools/qdatetime.cpp
index
d2064b3
..
1343600
100644
(file)
--- a/
src/corelib/tools/qdatetime.cpp
+++ b/
src/corelib/tools/qdatetime.cpp
@@
-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();
}
}