diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2017-06-02 09:35:25 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2017-06-02 08:32:42 +0000 |
commit | 7e67993ea78570cd44aaec6595219cf68bd21cf0 (patch) | |
tree | 767595828c676c1b6e5c8df7678630482ce38a80 /src/app/config-ui | |
parent | f89c3c7dbf49374e22086318f76622f41f01d87d (diff) |
Revert "Fix (wrong) GCC7 fallthrough warnings"
Declare throwError with noreturn instead.
This reverts commit 9030d940e089676d87a6854145733191e26fba60.
Change-Id: I11c7adfec53090e326c47c08d4978c120e2ca98b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/app/config-ui')
-rw-r--r-- | src/app/config-ui/commandlineparser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/config-ui/commandlineparser.h b/src/app/config-ui/commandlineparser.h index 5902f4065..1146f9893 100644 --- a/src/app/config-ui/commandlineparser.h +++ b/src/app/config-ui/commandlineparser.h @@ -52,9 +52,9 @@ public: QString usageString() const; private: - void throwError(const QString &message); + Q_NORETURN void throwError(const QString &message); void assignOptionArgument(const QString &option, QString &argument); - void complainAboutExtraArguments(); + Q_NORETURN void complainAboutExtraArguments(); bool m_helpRequested; QString m_settingsDir; |