diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-12-14 12:14:56 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-12-14 12:14:56 +0800 |
commit | 8bee19374da063f3600d3eb31cc9ec377392bef1 (patch) | |
tree | 8222e21baaef50ae93802772c7adee38b68eb24c /libibex/ibex_block.c | |
parent | 166e630ba2ee632ef8ca9a7818601097841294bd (diff) | |
download | gsoc2013-evolution-8bee19374da063f3600d3eb31cc9ec377392bef1.tar.gz gsoc2013-evolution-8bee19374da063f3600d3eb31cc9ec377392bef1.tar.zst gsoc2013-evolution-8bee19374da063f3600d3eb31cc9ec377392bef1.zip |
Added some casts to get rid of warnings. (tail_dump): #if 0ed this out to
2000-12-13 Christopher James Lahey <clahey@helixcode.com>
* disktail.c (tail_compress):
(tail_get): Added some casts to get rid of warnings.
(tail_dump): #if 0ed this out to get rid of a warning.
(ibex_diskarray_dump): Added a prototype.
* ibex_block.c (ibex_index_buffer): Assigned cat the value 0 to
start off with to avoid a warning.
svn path=/trunk/; revision=6993
Diffstat (limited to 'libibex/ibex_block.c')
-rw-r--r-- | libibex/ibex_block.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libibex/ibex_block.c b/libibex/ibex_block.c index 565b8f02dc..41388162c4 100644 --- a/libibex/ibex_block.c +++ b/libibex/ibex_block.c @@ -159,7 +159,7 @@ int ibex_index_buffer (ibex *ib, char *name, char *buffer, size_t len, size_t *unread) { char *p, *q, *nq, *end, *word; - int wordsiz, cat; + int wordsiz, cat = 0; GHashTable *words = g_hash_table_new(g_str_hash, g_str_equal); GPtrArray *wordlist = g_ptr_array_new(); int i, ret=-1; |