From 4fa3973d89505116482232547bdeede84675f535 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 22 Jun 2003 11:48:33 +0000 Subject: [PATCH] Fix compile warnings --- util/tsticonv.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); -- 1.7.10.4