From 3df3e928408f9b730578eba65737e9c8a19dd707 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 5 Mar 2003 16:44:02 +0000 Subject: [PATCH] Removed unused variable --- index/kinput.c | 4 +++- index/zebrash.c | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/index/kinput.c b/index/kinput.c index 5b14b74..422fb6a 100644 --- a/index/kinput.c +++ b/index/kinput.c @@ -1,4 +1,4 @@ -/* $Id: kinput.c,v 1.53 2002-08-05 19:46:01 adam Exp $ +/* $Id: kinput.c,v 1.54 2003-03-05 16:44:02 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -446,6 +446,7 @@ int heap_inpc (struct heap_info *hi) return 0; } +#if 0 /* for debugging only */ static void print_dict_item (ZebraMaps zm, const char *s) { @@ -466,6 +467,7 @@ static void print_dict_item (ZebraMaps zm, const char *s) *to = '\0'; yaz_log (LOG_LOG, "%s", keybuf); } +#endif int heap_inpb (struct heap_info *hi) { diff --git a/index/zebrash.c b/index/zebrash.c index 469cf05..e1532f9 100644 --- a/index/zebrash.c +++ b/index/zebrash.c @@ -1,5 +1,5 @@ /* zebrash.c - command-line interface to zebra API - * $Id: zebrash.c,v 1.6 2003-02-12 15:45:59 heikki Exp $ + * $Id: zebrash.c,v 1.7 2003-03-05 16:44:02 adam Exp $ * * Copyrigth 2003 Index Data Aps * @@ -374,7 +374,6 @@ int onecommand( char *line, char *outbuff) char *args[MAX_NO_ARGS]; int n; char argbuf[MAX_ARG_LEN]; - int rc; logf(LOG_APP,"%s",line); strncpy(argbuf,line, MAX_ARG_LEN-1); argbuf[MAX_ARG_LEN-1]='\0'; /* just to be sure */ -- 1.7.10.4