[gnumeric] fn-database: kill warning.



commit 315f774b7c0d88c0fedf49f09bf8a3a5de31afc1
Author: Morten Welinder <terra gnome org>
Date:   Mon Jan 14 11:00:45 2013 -0500

    fn-database: kill warning.

 plugins/fn-database/ChangeLog   |    4 ++++
 plugins/fn-database/functions.c |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/plugins/fn-database/ChangeLog b/plugins/fn-database/ChangeLog
index c7cc6d0..5b298a9 100644
--- a/plugins/fn-database/ChangeLog
+++ b/plugins/fn-database/ChangeLog
@@ -1,3 +1,7 @@
+2013-01-14  Morten Welinder  <terra gnome org>
+
+	* functions.c (database_find_values): Kill warning.
+
 2012-12-18  Morten Welinder <terra gnome org>
 
 	* Release 1.12.0
diff --git a/plugins/fn-database/functions.c b/plugins/fn-database/functions.c
index 768bc3c..c33a6cf 100644
--- a/plugins/fn-database/functions.c
+++ b/plugins/fn-database/functions.c
@@ -192,6 +192,7 @@ database_find_values (Sheet *sheet, GnmValue const *database,
 
 	*pcount = count;
 	g_slist_free (cells);
+	*error = NULL;
 	return res;
 }
 



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