On 27 Jan 2001 23:57:25 +0000, Nix wrote: >On 24 Jan 2001, Danny Backx yowled: >> Doesn't the C language specify that global un-initialised data is always set to >> 0 ? > >Variables with static linkage (global or local, it doesn't matter) are >zero-initialized. I guess we all benefit from doing initialization in all case explicitly. It doesn't hurt but help the reader of the code, at least as a remainder. Yesterday I "fixed" some uninitialized "library-global" vars by initializing to 0. I don't think it has ever hurt actually, but in any case might be helpful on debugging. --- Alexander Mai [EMAIL PROTECTED]
- Re: [Lesstif-commits] CVS Update: lesstif Danny Backx
- Re: [Lesstif-commits] CVS Update: lesstif Alexander Mai
- Re: [Lesstif-commits] CVS Update: lesstif Danny Backx
- Re: [Lesstif-commits] CVS Update: lesstif Rick Scott
- Re: [Lesstif-commits] CVS Update: lesstif Nix
- Re: [Lesstif-commits] CVS Update: lesstif Alexander Mai
- Re: [Lesstif-commits] CVS Update: lesstif Nix
- Re: [Lesstif-commits] CVS Update: lesstif Alexander Mai
- Re: [Lesstif-commits] CVS Update: lesstif Matthias Buelow
- Re: [Lesstif-commits] CVS Update: lesstif Alexander Mai
- Re: [Lesstif-commits] CVS Update: lesstif Alexander Mai
- Re: [Lesstif-commits] CVS Update: lesstif Matthias Buelow
- Re: [Lesstif-commits] CVS Update: lesstif Alexander Mai
- Re: [Lesstif-commits] CVS Update: lesstif Nix
- Re: [Lesstif-commits] CVS Update: lesstif Alexander Mai
- Re: [Lesstif-commits] CVS Update: lesstif Alexander Mai
