[Fix-Warnings] Remove redundant parentheses

This commit is contained in:
Brübach, Lukas 2025-11-29 09:23:11 +01:00
parent 858361e6d3
commit 8ddbdf31f9
75 changed files with 269 additions and 269 deletions

View file

@ -380,10 +380,10 @@ void RemoteClient::readData()
}
} else {
// end of hack
messageLength = (((quint32)(unsigned char)inputBuffer[0]) << 24) +
(((quint32)(unsigned char)inputBuffer[1]) << 16) +
(((quint32)(unsigned char)inputBuffer[2]) << 8) +
((quint32)(unsigned char)inputBuffer[3]);
messageLength = ((quint32)(unsigned char)inputBuffer[0] << 24) +
((quint32)(unsigned char)inputBuffer[1] << 16) +
((quint32)(unsigned char)inputBuffer[2] << 8) +
(quint32)(unsigned char)inputBuffer[3];
inputBuffer.remove(0, 4);
messageInProgress = true;
}