[goffice] Fix compiler warning. [#721004]



commit ae765d6b5f57460e6671839855a746ab7243b7da
Author: Jean Brefort <jean brefort normalesup org>
Date:   Mon Jan 6 08:28:52 2014 +0100

    Fix compiler warning. [#721004]

 ChangeLog                  |    5 +++++
 goffice/canvas/goc-graph.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 115551c..0de5e41 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-01-06  Jean Brefort  <jean brefort normalesup org>
+
+       * goffice/canvas/goc-graph.c (goc_graph_do_tooltip): fix compiler warning.
+       [#721004]
+
 2013-12-30  Morten Welinder  <terra gnome org>
 
        * goffice/utils/go-format.c (go_render_general): If we're not
diff --git a/goffice/canvas/goc-graph.c b/goffice/canvas/goc-graph.c
index d1397cb..9199c6c 100644
--- a/goffice/canvas/goc-graph.c
+++ b/goffice/canvas/goc-graph.c
@@ -256,7 +256,7 @@ goc_graph_do_tooltip (GocGraph *graph)
        GogViewAllocation alloc;
        double xpos, ypos;
        GogChartMap *map = NULL;
-       GogAxis *x_axis, *y_axis = NULL;
+       GogAxis *x_axis = NULL, *y_axis = NULL;
        GogAxisSet set;
        GogPlot *plot;
        GSList *l, *ptr;


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