|
Q_ASSERT ( ( iNumOfBytes > 0 ) && ( iNumOfBytes <= 4 ) ); |
|
Q_ASSERT ( vecIn.Size() >= iPos + iNumOfBytes ); |
uses Q_ASSERT but they don't do anything (https://doc.qt.io/qt-6/qtassert.html) in release mode. We should check weather an if () statement isn't better suited.
I assume we need to crash in case of an invalid value?
jamulus/src/protocol.cpp
Lines 2832 to 2833 in 0db5544
uses Q_ASSERT but they don't do anything (https://doc.qt.io/qt-6/qtassert.html) in release mode. We should check weather an if () statement isn't better suited.
I assume we need to crash in case of an invalid value?