server/fd.c: Prevent using uninitialized pointers

Henri Verbeet hverbeet at
Sun Jul 5 16:31:17 CDT 2009

2009/7/4 Vitaliy Margolen <wine-devel at>:
> Static variables are different. They are always initialized to 0. In your
Yes, although perhaps it should be noted that in this particular case
the static storage duration is due to these being global variables,
rather than the static keyword which just specifies internal linking
here. (I.e., if they had external linking the pointers would still be
initialized to NULL.)

More information about the wine-devel mailing list