News for hackers. Stuff that matters.
Re:GCC 6: -Wmisleading-indentation vs. “goto fail;” by TorKlingberg on Friday February 26, 2016 @01:05PM (#11182879)
Sure, but I find it strange to use the ternary operator and discarding the value. It's not wrong, but I think most C programmers prefer a simple if statement.
Re:GCC 6: -Wmisleading-indentation vs. “goto fail;” by dcvuob on Friday February 26, 2016 @02:06PM (#11183299)
I was giving an replacement for the if statement presented above, where both expressions are on the same line.