Opened 7 years ago
Closed 15 months ago
#14216 closed bug (fixed)
Keymap: warning: variable incremented both in the loop header and in the loop body
Reported by: | waddlesplash | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Kits | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
src/kits/shared/Keymap.cpp:438: warning: variable 'i' is incremented both in the loop header and in the loop body [-Wfor-loop-analysis] i++; ^
http://xref.plausible.coop/source/xref/haiku/src/kits/shared/Keymap.cpp#438
I'm not too familiar with this code. A bug? Or should the loop header be doing += 2
?
Note:
See TracTickets
for help on using tickets.
This was fixed years ago in f7db27344f77c8de8b1a79fb2ee697d65f591b0b.