[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #10155] cleanup for static code checker in tcp_in.c

From: Florian La Roche
Subject: [lwip-devel] [patch #10155] cleanup for static code checker in tcp_in.c
Date: Tue, 7 Dec 2021 09:30:46 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36

Follow-up Comment #2, patch #10155 (project lwip):

The warning says: "Operands in a bitwise operation have different size." And
the warning is gone with the patch applied.

The non-shortcut version does not give any warnings. I assume this
is due to the promotion to 'int', so then the question is only if
the final assignment should give some warning (which wouldn't make any

Not sure what the best resolution is. I am fine with any decision,
also just closing this bug-report with keeping source unchanged.

best regards,

Florian La Roche


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]