code cleanup suggestions
- From: Roland Illig <roland illig gmx de>
- To: mc-devel gnome org
- Subject: code cleanup suggestions
- Date: Sat, 14 Aug 2004 13:56:41 +0200
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]