[gnumeric] compilations: fix warnings.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] compilations: fix warnings.
- Date: Tue, 27 Jul 2010 01:07:38 +0000 (UTC)
commit 80ab7b0b908a1a4bdc22df42a5ef458be619752b
Author: Morten Welinder <terra gnome org>
Date: Mon Jul 26 20:54:26 2010 -0400
compilations: fix warnings.
plugins/excelplugins/ChangeLog | 4 ++++
plugins/excelplugins/excelplugins.c | 2 --
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/plugins/excelplugins/ChangeLog b/plugins/excelplugins/ChangeLog
new file mode 100644
index 0000000..64e44c5
--- /dev/null
+++ b/plugins/excelplugins/ChangeLog
@@ -0,0 +1,4 @@
+2010-07-26 Morten Welinder <terra gnome org>
+
+ * excelplugins.c (gnm_value_type_name): Remove references to
+ VALUE_INTEGER.
diff --git a/plugins/excelplugins/excelplugins.c b/plugins/excelplugins/excelplugins.c
index de53ed5..1ac4c1b 100644
--- a/plugins/excelplugins/excelplugins.c
+++ b/plugins/excelplugins/excelplugins.c
@@ -151,7 +151,6 @@ gnm_value_type_name (const GnmValue*g)
switch (g->type) {
CASE(VALUE_EMPTY);
CASE(VALUE_BOOLEAN);
- CASE(VALUE_INTEGER);
CASE(VALUE_FLOAT);
CASE(VALUE_ERROR);
CASE(VALUE_STRING);
@@ -286,7 +285,6 @@ copy_construct_xloper_from_gnm_value (XLOPER*out, const GnmValue*in,
out->xltype = xltypeBool;
out->val.boolean = (WORD)in->v_bool.val;
break;
- case VALUE_INTEGER:
case VALUE_FLOAT:
out->xltype = xltypeNum;
out->val.num = in->v_float.val;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]