From mboxrd@z Thu Jan 1 00:00:00 1970 From: krewat@kilonet.net (Arthur Krewat) Date: Wed, 8 Nov 2017 20:49:43 -0500 Subject: [TUHS] C question for the historians In-Reply-To: References: <20171108181420.517711F949@orac.inputplus.co.uk> <20171108190540.GA7241@mcvoy.com> <20171109012207.BA4111F942@orac.inputplus.co.uk> Message-ID: <0ace6d7d-24c4-d4f5-f872-0cef020f4dad@kilonet.net> 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.