From: Adam Dickmeiss Date: Thu, 26 Jan 2006 15:37:05 +0000 (+0000) Subject: Avoid mixed stmt/var declare X-Git-Tag: YAZ.2.1.12~23 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=84d09d80523986d05d098ee1972c426792918a02;p=yaz-moved-to-github.git Avoid mixed stmt/var declare --- diff --git a/src/marcdisp.c b/src/marcdisp.c index c1bf00d..6dba155 100644 --- a/src/marcdisp.c +++ b/src/marcdisp.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: marcdisp.c,v 1.24 2006-01-20 15:30:24 adam Exp $ + * $Id: marcdisp.c,v 1.25 2006-01-26 15:37:05 adam Exp $ */ /** @@ -472,12 +472,12 @@ int yaz_marc_decode_wrbuf (yaz_marc_t mt, const char *buf, int bsize, WRBUF wr) buf[i] != ISO2709_RS && buf[i] != ISO2709_FS) { int i0; - i++; int sb_octet_length = identifier_length-1; if (identifier_length == 2) sb_octet_length = cdata_one_character(mt, buf+i); + i++; switch(mt->xml) { case YAZ_MARC_ISO2709: