4 ms·
ITT: everyone pretending they've never burned hours troubleshooting only to find a stupid `=` instead of a `==`.
by bugeats 6y ago
ITT: everyone pretending they've never burned hours troubleshooting only to find a stupid `=` instead of a `==`.
- ViViDboarder 6y agoYea. Who hasn’t slipped up and forgotten an equals sign... and then accidentally exploited the Linux CVS and pushed their code without approval... We’ve all been there! /s
- vlovich123 6y agoIt has been a long time since I make sure my codebases have `-Wall -Werror`. This bug is from 2003 both when that wasn't as common & when compiler diagnostics weren't as good/reliable.
- not2b 6y agoThis code would not trigger under -Wall -Werror. Try it.
- vlovich123 6y agoI was referring to what the parent wrote: > ITT: everyone pretending they've never burned hours troubleshooting only to find a stupid `=` instead of a `==`. In the general case that OP was talking about, not for underhanded code, my comment holds.