From 5cfd55caa981434cb56b2f3decc8d4dee262b5ae Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Sun, 9 Aug 2020 16:37:22 +0300 Subject: [PATCH] mark the end of qt_error_string() as unreachable Signed-off-by: Ivailo Monev --- src/core/global/qglobal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/global/qglobal.cpp b/src/core/global/qglobal.cpp index c072bf01e..0ed18d2bf 100644 --- a/src/core/global/qglobal.cpp +++ b/src/core/global/qglobal.cpp @@ -1395,7 +1395,7 @@ QString qt_error_string(int errorCode) #endif } } - return QString(); + Q_UNREACHABLE(); } -- 2.11.0