[goffice] Compilation: warning fix.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Compilation: warning fix.
- Date: Tue, 3 May 2011 13:09:10 +0000 (UTC)
commit 468b7551fecb2e2cb88d858002ed81ecb9eeb1df
Author: Morten Welinder <terra gnome org>
Date: Tue May 3 09:08:55 2011 -0400
Compilation: warning fix.
goffice/utils/go-format.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/goffice/utils/go-format.c b/goffice/utils/go-format.c
index 8c87799..95e1820 100644
--- a/goffice/utils/go-format.c
+++ b/goffice/utils/go-format.c
@@ -196,6 +196,7 @@ typedef enum {
} GOFormatOp;
typedef enum {
+ TOK_NULL = 0,
TOK_GENERAL = 256, /* General */
TOK_STRING, /* "xyz" */
@@ -1194,7 +1195,7 @@ handle_common_token (const char *tstr, GOFormatToken t, GString *prg)
break;
}
- case 0:
+ case TOK_NULL:
break;
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]