code cleanup suggestions

Roland Illig roland.illig at gmx.de
Sat Aug 14 11:56:41 UTC 2004


Hi,

I'd like to add a line

#define NULL_QuickWidget { 0, 0, 0, 0, 0, NULL, 0, 0, NULL, NULL, NULL }

into src/wtools.h after the typedef of QuickWidget. Having that done, 
one can write NULL_QuickWidget instead of {0} in a QuickWidget array. 
This will eliminate some GCC warnings about unspecified initializers. (I 
use gcc -W -Wall -W(many more)). I think it also looks nicer.

Any comments? If not, I'll commit it soon.

Roland



More information about the mc-devel mailing list