From 8bee19374da063f3600d3eb31cc9ec377392bef1 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Thu, 14 Dec 2000 04:14:56 +0000 Subject: Added some casts to get rid of warnings. (tail_dump): #if 0ed this out to 2000-12-13 Christopher James Lahey * 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 --- libibex/ibex_block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libibex/ibex_block.c') 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; -- cgit v1.2.3