X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fdumpber.c;h=d249c0d3f531193177d958f9b3b9ee7b4bf2068a;hp=c02ae3b7fe3dc1089963c5bfa0779f561f26b43a;hb=896b145fa7a02199bfc3e8aa824c018b9d7cbf98;hpb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35 diff --git a/src/dumpber.c b/src/dumpber.c index c02ae3b..d249c0d 100644 --- a/src/dumpber.c +++ b/src/dumpber.c @@ -18,7 +18,7 @@ static int do_dumpBER(FILE *f, const char *buf, int len, int level, int offset) { int res, ll, zclass, tag, cons, lenlen, taglen; - const char *b = buf, *bp = buf; + const char *b = buf; if (!len) return 0; @@ -56,7 +56,6 @@ static int do_dumpBER(FILE *f, const char *buf, int len, int level, int offset) b += res; taglen = res; len -= res; - bp = b; if ((res = ber_declen((unsigned char*)b, &ll, len)) <= 0) { fprintf(f, "\n%*sBad length\n", level*4+5, "");