Created attachment 44304 [details] compiled with gcc -Wall -Wextra -pedantic Hi, I am not sure if I am right on this, but I noticed that having code like this: useless = 0; useless = useless; silences the set but not used variable warning (assume that useless is a local variable and is not used anywhere else). Now, I would agree that the second line is useless and a terrible thing to do, but still, wouldn't it better if the compiler still complained about the set but not used variable (perhaps about the useless command as well, but I do not know if it would be easy to classify identity/"useless" commands. I attach a very small file that I used to test the compiler warnings.
I think there's another bug open about this...