[evolution] Fix a potential uninitialized argument in ech_config_section_factory().



commit b0b61a0724c7a9753f5d5e97166077c4dcecc617
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Jan 15 21:57:39 2010 -0500

    Fix a potential uninitialized argument in ech_config_section_factory().
    
    Caught by the Clang Static Analyzer.

 e-util/e-config.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-config.c b/e-util/e-config.c
index 038e54f..25b1235 100644
--- a/e-util/e-config.c
+++ b/e-util/e-config.c
@@ -1587,7 +1587,7 @@ ech_config_section_factory (EConfig *config,
                             gpointer data)
 {
 	struct _EConfigHookGroup *group = data;
-	GtkWidget *label;
+	GtkWidget *label = NULL;
 	GtkWidget *widget;
 	EPlugin *plugin;
 



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