[gnumeric] compilation: warning fixes.



commit eadc4b0ddc5f1d4b829f823b740afb8c558d6d20
Author: Morten Welinder <terra gnome org>
Date:   Fri Mar 9 13:43:56 2012 -0500

    compilation: warning fixes.

 plugins/excel/ms-escher.c     |    1 -
 plugins/excel/ms-excel-read.c |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/plugins/excel/ms-escher.c b/plugins/excel/ms-escher.c
index 6be380e..9e91b6e 100644
--- a/plugins/excel/ms-escher.c
+++ b/plugins/excel/ms-escher.c
@@ -694,7 +694,6 @@ ms_escher_read_Sp (MSEscherState *state, MSEscherHeader *h)
 	guint32 spid, flags;
 	guint8 const *data;
 
-	g_return_val_if_fail (h->instance >= 0, TRUE);
 	g_return_val_if_fail (h->instance <= 202, TRUE);
 
 	d (0, g_printerr ("%s (0x%x);\n", shape_names[h->instance],
diff --git a/plugins/excel/ms-excel-read.c b/plugins/excel/ms-excel-read.c
index 1322ddb..03cce5b 100644
--- a/plugins/excel/ms-excel-read.c
+++ b/plugins/excel/ms-excel-read.c
@@ -5066,7 +5066,6 @@ excel_read_CALCCOUNT (BiffQuery *q, GnmXLImporter *importer)
 	XL_CHECK_CONDITION (q->length == 2);
 
 	count = GSF_LE_GET_GUINT16 (q->data);
-	XL_CHECK_CONDITION (count >= 0);
 
 	workbook_iteration_max_number (importer->wb, count);
 }



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