diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-09-12 02:26:17 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-09-12 02:26:17 +0800 |
commit | 4889cc0a361e693fb9aa852e58ce5fa9bf889f5a (patch) | |
tree | e86e96c5bdadfc103b58937a36c18c7e0a41c361 /e-util/ename | |
parent | ae80da9abad3a04962473d1c2fee41663e3b1f16 (diff) | |
download | gsoc2013-evolution-4889cc0a361e693fb9aa852e58ce5fa9bf889f5a.tar gsoc2013-evolution-4889cc0a361e693fb9aa852e58ce5fa9bf889f5a.tar.gz gsoc2013-evolution-4889cc0a361e693fb9aa852e58ce5fa9bf889f5a.tar.bz2 gsoc2013-evolution-4889cc0a361e693fb9aa852e58ce5fa9bf889f5a.tar.lz gsoc2013-evolution-4889cc0a361e693fb9aa852e58ce5fa9bf889f5a.tar.xz gsoc2013-evolution-4889cc0a361e693fb9aa852e58ce5fa9bf889f5a.tar.zst gsoc2013-evolution-4889cc0a361e693fb9aa852e58ce5fa9bf889f5a.zip |
Fixed some warnings.
2000-09-11 Christopher James Lahey <clahey@helixcode.com>
* ename/e-address-western.c: Fixed some warnings.
svn path=/trunk/; revision=5333
Diffstat (limited to 'e-util/ename')
-rw-r--r-- | e-util/ename/e-address-western.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/e-util/ename/e-address-western.c b/e-util/ename/e-address-western.c index af1d112fd6..a8e16e1eba 100644 --- a/e-util/ename/e-address-western.c +++ b/e-util/ename/e-address-western.c @@ -120,7 +120,7 @@ e_address_western_remove_blank_lines (gchar *lines[], gint *linecntr) static gboolean e_address_western_is_po_box (gchar *line) { - gboolean retval; + gboolean retval = FALSE; /* In which phase of processing are we? */ enum State { FIRSTCHAR, SECONDCHAR, WHITESPACE } state; @@ -299,10 +299,10 @@ e_address_western_extract_postal_code (gchar *line) -void +static void e_address_western_extract_street (gchar *line, gchar **street, gchar **extended) { - gchar *split = NULL; + const gchar *split = NULL; gint cntr; for (cntr = 0; extended_keywords[cntr] != NULL; cntr++) { @@ -334,7 +334,9 @@ e_address_western_parse (const gchar *in_address) gboolean found_po_box, found_postal; EAddressWestern *eaw; +#if 0 gint start, end; /* To be used to classify address lines. */ +#endif if (in_address == NULL) return NULL; |