[gnumeric: 8/9] Compilation: fix warnings.



commit 80cd852ee731d71773d7bd4e81d956b6586c3d48
Author: Morten Welinder <terra gnome org>
Date:   Mon Dec 24 13:25:01 2012 -0500

    Compilation: fix warnings.

 NEWS                                          |    3 +++
 plugins/excel/ChangeLog                       |    4 ++++
 plugins/excel/xlsx-write-drawing.c            |    1 -
 plugins/sample_datasource/ChangeLog           |    4 ++++
 plugins/sample_datasource/sample_datasource.c |    2 --
 5 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/NEWS b/NEWS
index a940ede..cb8fff6 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,9 @@ Gnumeric 1.12.1
 
 Andreas:
 	 * Some documentation fixes.
+
+Morten:
+	* Fix a few compiler warnings.
   
 --------------------------------------------------------------------------
 Gnumeric 1.12.0
diff --git a/plugins/excel/ChangeLog b/plugins/excel/ChangeLog
index 0346080..064136f 100644
--- a/plugins/excel/ChangeLog
+++ b/plugins/excel/ChangeLog
@@ -1,3 +1,7 @@
+2012-12-24  Morten Welinder  <terra gnome org>
+
+	* xlsx-write-drawing.c (xlsx_write_one_plot): Silence warning.
+
 2012-12-18  Morten Welinder <terra gnome org>
 
 	* Release 1.12.0
diff --git a/plugins/excel/xlsx-write-drawing.c b/plugins/excel/xlsx-write-drawing.c
index 1b58c9e..9d6eddf 100644
--- a/plugins/excel/xlsx-write-drawing.c
+++ b/plugins/excel/xlsx-write-drawing.c
@@ -184,7 +184,6 @@ static void
 xlsx_write_one_plot (XLSXWriteState *state, GsfXMLOut *xml, GogObject const *chart, GogObject const *plot)
 {
 	char const *plot_type;
-	GogObject const *obj;
 	gboolean failed = FALSE;
 	gboolean use_xy = FALSE;
 	double explosion = 0.;
diff --git a/plugins/sample_datasource/ChangeLog b/plugins/sample_datasource/ChangeLog
index cff78d6..f9e78f0 100644
--- a/plugins/sample_datasource/ChangeLog
+++ b/plugins/sample_datasource/ChangeLog
@@ -1,3 +1,7 @@
+2012-12-24  Morten Welinder  <terra gnome org>
+
+	* sample_datasource.c (cb_watcher_queue_recalc): Silence warning.
+
 2012-12-18  Morten Welinder <terra gnome org>
 
 	* Release 1.12.0
diff --git a/plugins/sample_datasource/sample_datasource.c b/plugins/sample_datasource/sample_datasource.c
index 32a20d3..847608b 100644
--- a/plugins/sample_datasource/sample_datasource.c
+++ b/plugins/sample_datasource/sample_datasource.c
@@ -101,9 +101,7 @@ static void
 cb_watcher_queue_recalc (gpointer key, gpointer value, gpointer closure)
 {
 	Watcher const *w = key;
-	Sheet *sheet = w->dep->sheet;
 	dependent_queue_recalc (w->dep);
-
 	gnm_app_recalc ();
 }
 



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