On Feb 11, 2007, at 9:26 PM, Paul Eggert wrote:
OK, but is that a bug? C89 says that static variables must be initialized to zero.
Yes, you're right. It is not technically a bug. I have the habit however of always setting my static variables, not trusting that all compilers correctly implement the specification. Also it's clearer to read.
Mark