Hacker News new | ask | show | jobs
by zokier 3437 days ago
I'd still expect GCC to warn about that
1 comments

Warn about what? "mode > 0" is not always true.
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.