From 181485e33c29d3edafd6bd4b4677effecc1840fa Mon Sep 17 00:00:00 2001 From: Sergei Ilinykh Date: Fri, 26 Apr 2024 19:04:33 +0300 Subject: [PATCH] Move assert to the end of the function --- src/xmpp/xmpp-im/jingle-session.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xmpp/xmpp-im/jingle-session.cpp b/src/xmpp/xmpp-im/jingle-session.cpp index d39d7b1b..f50fa037 100644 --- a/src/xmpp/xmpp-im/jingle-session.cpp +++ b/src/xmpp/xmpp-im/jingle-session.cpp @@ -1232,9 +1232,9 @@ namespace XMPP { namespace Jingle { } d->planStep(); return true; - default: - Q_ASSERT(false); } + Q_ASSERT(false); + return false; // unreachable } bool Session::updateFromXml(Action action, const QDomElement &jingleEl)