In <[EMAIL PROTECTED]> Johannes Tevessen <[EMAIL PROTECTED]> 
writes:

> I noticed that in wget-1.7, the variable
> 
>    retr.c:int global_download_count;
> 
> is never initialized, so its value is undefined (since it is
> not declared as "static", which would initialize it to '0'
> at program start) before it is first read or incremented.

This variable is (surprise!) a global variable and therefore gets
initialized to zero, just like a static would.


-wayne

Reply via email to