[gnumeric] Initialise "topLeft".



commit 772c08ce02e67bdcd5215d5fe23389af88fb360a
Author: J.H.M. Dassen (Ray) <jdassen debian org>
Date:   Thu Sep 16 19:15:58 2010 +0200

    Initialise "topLeft".
    
    Fixes "pass-by-value argument in function call is undefined".

 plugins/excel/xlsx-read.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/excel/xlsx-read.c b/plugins/excel/xlsx-read.c
index 41177fe..1c478ee 100644
--- a/plugins/excel/xlsx-read.c
+++ b/plugins/excel/xlsx-read.c
@@ -3843,7 +3843,7 @@ static void
 xlsx_CT_Pane (GsfXMLIn *xin, xmlChar const **attrs)
 {
 	XLSXReadState *state = (XLSXReadState *)xin->user_state;
-	GnmCellPos topLeft;
+	GnmCellPos topLeft = { 0, 0 };
 	int tmp;
 	gnm_float xSplit = -1., ySplit = -1.;
 	gboolean frozen = FALSE;



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