From: Adam Dickmeiss Date: Sun, 22 Jun 2003 11:48:33 +0000 (+0000) Subject: Fix compile warnings X-Git-Tag: YAZ.2.0.4~40 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=4fa3973d89505116482232547bdeede84675f535;p=yaz-moved-to-github.git Fix compile warnings --- diff --git a/util/tsticonv.c b/util/tsticonv.c index fec4361..b98d640 100644 --- a/util/tsticonv.c +++ b/util/tsticonv.c @@ -2,7 +2,7 @@ * Copyright (c) 2002-2003, Index Data * See the file LICENSE for details. * - * $Id: tsticonv.c,v 1.4 2003-06-22 11:47:18 adam Exp $ + * $Id: tsticonv.c,v 1.5 2003-06-22 11:48:33 adam Exp $ */ #if HAVE_CONFIG_H @@ -70,13 +70,12 @@ static void marc8_tst() yaz_iconv_close(cd); } -static dconvert(int mandatory, const char *tmpcode) +static void dconvert(int mandatory, const char *tmpcode) { int i; yaz_iconv_t cd; for (i = 0; buf[i]; i++) { - int j; size_t r; char *inbuf = (char*) buf[i]; size_t inbytesleft = strlen(inbuf);