Why does gcc -Wall give warning about zero-length format string?
The fact that GCC issues a warning usually has nothing to do with whether the construct is legal C, but whether the GCC developers consider it either a likely indication that you meant something other than what you write, or just bad style. Here are some examples: if (x = 0) — you almost surely … Read more