News for hackers. Stuff that matters.
Re:Files UWP: An enthusiast’s take on what Windows File Expl... by Sharlin on Saturday June 08, 2019 @05:48AM (#20131556)
Yes, of course it is trivially optimized out, that's still not the issue. The question is why that function (and several others) exist in the first place! Is there a bug (which is then copypasted several times) and the code is actually supposed to flip between enabled and disabled (in which case it should really be written foo = !foo)? Or something else?
Re:Files UWP: An enthusiast’s take on what Windows File Expl... by saagarjha on Saturday June 08, 2019 @05:59AM (#20131605)
Probably a copy/paste bug that the author overlooked.
Re:Files UWP: An enthusiast’s take on what Windows File Expl... by Sharlin on Saturday June 08, 2019 @07:11AM (#20131788)
Which is precisely my point.