Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
zokier
9y ago
0 comments
Save
Share
I'd still expect GCC to warn about that
0 comments
2 comments · 1 top-level
top
newest
oldest
0xffff2
9y ago
· 1 in thread
Warn about what? "mode > 0" is
not
always true.
twoodfin
9y ago
Eh, I feel like I've seen even pickier static analysis warnings. If the next -Wall told me I should rewrite this as "mode != 0" to confirm the intent, that wouldn't seem crazy to me.
j
/
k
navigate · click thread line to collapse