Skip to content

Commit

Permalink
Move assert to the end of the function
Browse files Browse the repository at this point in the history
  • Loading branch information
Ri0n committed Apr 26, 2024
1 parent bc922e1 commit 181485e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xmpp/xmpp-im/jingle-session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 181485e

Please sign in to comment.