Remove a few unused variables
authorAdam Dickmeiss <adam@indexdata.dk>
Sat, 5 Jun 2004 23:09:04 +0000 (23:09 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Sat, 5 Jun 2004 23:09:04 +0000 (23:09 +0000)
Makefile.PL
SimpleServer.xs

index a280ea0..3024f57 100644 (file)
@@ -1,13 +1,13 @@
 use ExtUtils::MakeMaker;
 
 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' 
 
 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' 
 );
 );
index 623949c..859af5c 100644 (file)
@@ -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.
  * ----------------------------------------------------------------------
  * 
  * 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);
 
        temp = hv_fetch(href, "STATUS", 6, 1);
        status = newSVsv(*temp);
 
-
        PUTBACK;
        FREETMPS;
        LEAVE;
        PUTBACK;
        FREETMPS;
        LEAVE;
@@ -595,11 +594,9 @@ int bend_search(void *handle, bend_search_rr *rr)
        STRLEN len;
        int i;
        char **basenames;
        STRLEN len;
        int i;
        char **basenames;
-       int n;
        WRBUF query;
        char *ptr;
        SV *point;
        WRBUF query;
        char *ptr;
        SV *point;
-       SV *ODR_point;
        Zfront_handle *zhandle = (Zfront_handle *)handle;
        CV* handler_cv = 0;
 
        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;
        char *ODR_errstr;
        STRLEN len;
        int term_len;
-       SV *term_tmp;
        SV *entries_ref;
        Zfront_handle *zhandle = (Zfront_handle *)handle;
        CV* handler_cv = 0;
        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 *handle;
        HV *href;
        SV **temp;
-       SV *status;
 
        ENTER;
        SAVETMPS;
 
        ENTER;
        SAVETMPS;
@@ -1280,7 +1275,6 @@ void bend_close(void *handle)
 {
        HV *href;
        Zfront_handle *zhandle = (Zfront_handle *)handle;
 {
        HV *href;
        Zfront_handle *zhandle = (Zfront_handle *)handle;
-       SV **temp;
        CV* handler_cv = 0;
        int stop_flag = 0;
        dSP;
        CV* handler_cv = 0;
        int stop_flag = 0;
        dSP;