On 11/8/2017 8:41 PM, Chet Ramey wrote:
(There's also the annoying warning on `if (x =
something)'; maybe that's
what I was thinking.)
Which Visual Studio 2013 doesn't warn about in it's default state. I
know it doesn't through personal experience (insert ashamed look-away
emoticon here).
Truth be told, there is some utility in the "if (x = something) ..." -
always set x, but also conditionally do something when it's not 0. But
it's also a dumb mistake. Yeah, I'm dumb.
art k.