X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=ztest%2Fread-marc.c;h=afd6272342028158345d8443ce4ac5e2d88e77f4;hp=cecbabcac0d891a763d2e2aeea60f19ac523bd12;hb=c752a33d6863b028e991c09451f977a00b4028aa;hpb=fab857282ce150ffb962753bf98132deae20b8c9 diff --git a/ztest/read-marc.c b/ztest/read-marc.c index cecbabc..afd6272 100644 --- a/ztest/read-marc.c +++ b/ztest/read-marc.c @@ -1572,12 +1572,6 @@ char *dummy_marc_record (int num, ODR odr) FILE *inf; char *buf = 0; - if (num == 98) - { /* this will generate a very bad MARC record (testing only) */ - buf = (char*) odr_malloc(odr, 2101); - memset(buf, '7', 2100); - buf[2100] = '\0'; - } inf = fopen ("dummy-records", "r"); if (!inf) { /* file not there. Get them from fixed array */