From: Ivailo Monev Date: Sat, 28 Dec 2019 03:31:19 +0000 (+0000) Subject: mark default case in QCryptographicHash::hash() as unreachable X-Git-Tag: 4.12.0~4501 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8df02dc5c3f1222bcc426de35647da59474c6a7a;p=kde%2FKatie.git mark default case in QCryptographicHash::hash() as unreachable Signed-off-by: Ivailo Monev --- diff --git a/src/core/tools/qcryptographichash.cpp b/src/core/tools/qcryptographichash.cpp index 45fbc7d18..23e8fb075 100644 --- a/src/core/tools/qcryptographichash.cpp +++ b/src/core/tools/qcryptographichash.cpp @@ -314,7 +314,7 @@ QByteArray QCryptographicHash::hash(const QByteArray &data, QCryptographicHash:: } } - // unreachable + Q_UNREACHABLE(); return QByteArray(); }