From 5fb0dad3f05f5110f22c8027824ae3562c5c522d Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sat, 5 Jun 2004 23:09:04 +0000 Subject: [PATCH] Remove a few unused variables --- Makefile.PL | 6 +++--- SimpleServer.xs | 8 +------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index a280ea0..3024f57 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,13 +1,13 @@ use ExtUtils::MakeMaker; -## $Id: Makefile.PL,v 1.4 2004-06-05 07:55:05 adam Exp $ +## $Id: Makefile.PL,v 1.5 2004-06-05 23:09:04 adam Exp $ -my $libs = `yaz-config --libs` || die "ERROR: Unable to call script: yaz-config"; +my $libs = `../yaz/yaz-config --libs threads` || die "ERROR: Unable to call script: yaz-config"; WriteMakefile( 'NAME' => 'Net::Z3950::SimpleServer', 'VERSION_FROM' => 'SimpleServer.pm', # finds $VERSION 'LIBS' => [$libs], # e.g., '-lm' 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING' - 'INC' => '', # e.g., '-I/usr/include/other' + 'INC' => '-I../yaz/include', # e.g., '-I/usr/include/other' ); diff --git a/SimpleServer.xs b/SimpleServer.xs index 623949c..859af5c 100644 --- a/SimpleServer.xs +++ b/SimpleServer.xs @@ -1,5 +1,5 @@ /* - * $Id: SimpleServer.xs,v 1.29 2004-06-05 22:18:09 adam Exp $ + * $Id: SimpleServer.xs,v 1.30 2004-06-05 23:09:04 adam Exp $ * ---------------------------------------------------------------------- * * Copyright (c) 2000-2004, Index Data. @@ -564,7 +564,6 @@ int bend_sort(void *handle, bend_sort_rr *rr) temp = hv_fetch(href, "STATUS", 6, 1); status = newSVsv(*temp); - PUTBACK; FREETMPS; LEAVE; @@ -595,11 +594,9 @@ int bend_search(void *handle, bend_search_rr *rr) STRLEN len; int i; char **basenames; - int n; WRBUF query; char *ptr; SV *point; - SV *ODR_point; Zfront_handle *zhandle = (Zfront_handle *)handle; CV* handler_cv = 0; @@ -1045,7 +1042,6 @@ int bend_scan(void *handle, bend_scan_rr *rr) char *ODR_errstr; STRLEN len; int term_len; - SV *term_tmp; SV *entries_ref; Zfront_handle *zhandle = (Zfront_handle *)handle; CV* handler_cv = 0; @@ -1171,7 +1167,6 @@ bend_initresult *bend_init(bend_initrequest *q) SV *handle; HV *href; SV **temp; - SV *status; ENTER; SAVETMPS; @@ -1280,7 +1275,6 @@ void bend_close(void *handle) { HV *href; Zfront_handle *zhandle = (Zfront_handle *)handle; - SV **temp; CV* handler_cv = 0; int stop_flag = 0; dSP; -- 1.7.10.4