OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1386f7
)
mark the end of QStandardPaths::displayName() as unreachable
author
Ivailo Monev
<xakepa10@gmail.com>
Mon, 28 Dec 2020 14:57:57 +0000
(16:57 +0200)
committer
Ivailo Monev
<xakepa10@gmail.com>
Mon, 28 Dec 2020 14:57:57 +0000
(16:57 +0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/core/io/qstandardpaths.cpp
patch
|
blob
|
history
diff --git
a/src/core/io/qstandardpaths.cpp
b/src/core/io/qstandardpaths.cpp
index
55441fb
..
bd3f1ea
100644
(file)
--- a/
src/core/io/qstandardpaths.cpp
+++ b/
src/core/io/qstandardpaths.cpp
@@
-326,8
+326,7
@@
QString QStandardPaths::displayName(StandardLocation type)
case DownloadLocation:
return QCoreApplication::translate("QStandardPaths", "Download");
}
- // not reached
- return QString();
+ Q_UNREACHABLE();
}
QT_END_NAMESPACE