aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlplugindump
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2018-09-18 10:17:15 +0200
committerKai Koehne <kai.koehne@qt.io>2018-09-24 06:37:07 +0000
commitf24b3dacd0b74c18de2a3b472f51de7a90adddd7 (patch)
tree0811598a0356d465c23940791031616411b15382 /tools/qmlplugindump
parenta836aee75ce4801e4243455d215da9f98e1edc90 (diff)
qmlplugindump: Mark qsigSegvHandler with Q_NORETURN
Change-Id: I4b25bbe4f777f524762e6f3f15df9fc358a46da6 Reviewed-by: Marco Benelli <marco.benelli@qt.io>
Diffstat (limited to 'tools/qmlplugindump')
-rw-r--r--tools/qmlplugindump/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlplugindump/main.cpp b/tools/qmlplugindump/main.cpp
index 536dcfcf3d..dffac93f20 100644
--- a/tools/qmlplugindump/main.cpp
+++ b/tools/qmlplugindump/main.cpp
@@ -732,7 +732,7 @@ enum ExitCode {
};
#ifdef Q_OS_UNIX
-void sigSegvHandler(int) {
+Q_NORETURN void sigSegvHandler(int) {
fprintf(stderr, "Error: SEGV\n");
if (!currentProperty.isEmpty())
fprintf(stderr, "While processing the property '%s', which probably has uninitialized data.\n", currentProperty.toLatin1().constData());