[libgda] Another correction found by cppcheck



commit feab6dafcc0a2381c3feb11b3d624b73205d1c80
Author: Vivien Malerba <malerba gnome-db org>
Date:   Tue Oct 19 20:33:03 2010 +0200

    Another correction found by cppcheck

 tools/browser/browser-connection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/browser/browser-connection.c b/tools/browser/browser-connection.c
index e1c7373..498c918 100644
--- a/tools/browser/browser-connection.c
+++ b/tools/browser/browser-connection.c
@@ -1645,7 +1645,7 @@ browser_connection_get_table_column_attribute  (BrowserConnection *bcnc,
 	GdaSqlBuilder *builder;
 	GdaSet *params;
 	GdaSqlBuilderId op_ids[4];
-	GdaDataModel *model;
+	GdaDataModel *model = NULL;
 	const GValue *cvalue;
 	GdaMetaDbObject *dbo = (GdaMetaDbObject *) table;
 



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