This patch initialize the variable "state" to avoid compiler warnings.
---
WPrefs.app/Expert.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/WPrefs.app/Expert.c b/WPrefs.app/Expert.c
index e939df0..c441612 100644
--- a/WPrefs.app/Expert.c
+++ b/WPrefs.app/Expert.c
@@ -102,7 +102,7 @@ static void createPanel(Panel * p)
WMScrollView *sv;
WMFrame *f;
WMUserDefaults *udb;
- int i, state;
+ int i, state = 0;
panel->box = WMCreateBox(panel->parent);
WMSetViewExpandsToParent(WMWidgetView(panel->box), 2, 2, 2, 2);
--
1.8.5.2
--
To unsubscribe, send mail to [email protected].