Remove unused local member wrbuf_opac
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 8 Jun 2009 12:41:40 +0000 (14:41 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 8 Jun 2009 12:41:40 +0000 (14:41 +0200)
src/zoom-c.c
src/zoom-p.h

index 0864f31..6f6856e 100644 (file)
@@ -1018,8 +1018,6 @@ ZOOM_API(void)
                 wrbuf_destroy(rc->rec.wrbuf_marc);
             if (rc->rec.wrbuf_iconv)
                 wrbuf_destroy(rc->rec.wrbuf_iconv);
-            if (rc->rec.wrbuf_opac)
-                wrbuf_destroy(rc->rec.wrbuf_opac);
         }
         r->record_hash[i] = 0;
     }
@@ -1776,7 +1774,6 @@ ZOOM_API(ZOOM_record)
     nrec->odr = odr_createmem(ODR_DECODE);
     nrec->wrbuf_marc = 0;
     nrec->wrbuf_iconv = 0;
-    nrec->wrbuf_opac = 0;
     odr_setbuf(nrec->odr, buf, size, 0);
     z_NamePlusRecord(nrec->odr, &nrec->npr, 0, 0);
     
@@ -1830,8 +1827,6 @@ ZOOM_API(void)
         wrbuf_destroy(rec->wrbuf_marc);
     if (rec->wrbuf_iconv)
         wrbuf_destroy(rec->wrbuf_iconv);
-    if (rec->wrbuf_opac)
-        wrbuf_destroy(rec->wrbuf_opac);
     odr_destroy(rec->odr);
     xfree(rec);
 }
@@ -2207,7 +2202,6 @@ static void record_cache_add(ZOOM_resultset r, Z_NamePlusRecord *npr,
         rc->rec.odr = 0;
         rc->rec.wrbuf_marc = 0;
         rc->rec.wrbuf_iconv = 0;
-        rc->rec.wrbuf_opac = 0;
         rc->elementSetName = odr_strdup_null(r->odr, elementSetName);
         
         rc->syntax = odr_strdup_null(r->odr, syntax);
index ccb9f39..40e2506 100644 (file)
@@ -148,7 +148,6 @@ struct ZOOM_record_p {
     ODR odr;
     WRBUF wrbuf_marc;
     WRBUF wrbuf_iconv;
-    WRBUF wrbuf_opac;
     Z_NamePlusRecord *npr;
     const char *schema;