#12825: [Patch] net_buffer.cpp: Fix clang warning
----------------------------------------+----------------------------
Reporter: mt | Owner: axeld
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Network & Internet/Stack | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 1 | Platform: All
----------------------------------------+----------------------------
Comment (by pulkomandy):
I'm not sure this is right, especially as the code inside the loop does
handle "left == 0".
Either we should make "left" signed, or change the loop into a "while
true" if there are other ways to exit it.
--
Ticket URL: <https://dev.haiku-os.org/ticket/12825#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.