code cleanup suggestions



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]