X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftest_odr.c;h=7f5ef9e6c619f668c00b3d83854ae800e5a9066c;hp=65e2ed154f867725f6c5aba28d157c64648bbc67;hb=7143bc8f77ac03fdb6f36f30b16cf64c2d6cc3e2;hpb=69b1d8e7b437179163fe97b7cbead51a56835f2a diff --git a/test/test_odr.c b/test/test_odr.c index 65e2ed1..7f5ef9e 100644 --- a/test/test_odr.c +++ b/test/test_odr.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2013 Index Data + * Copyright (C) Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H @@ -27,9 +27,6 @@ void tst_MySequence1(ODR encode, ODR decode) s->second = (Odr_oct *) odr_malloc(encode, sizeof(*s->second)); s->second->buf = (char *) "hello"; s->second->len = 5; -#if OCT_SIZE - s->second->size = 0; -#endif s->third = odr_booldup(encode, 1); s->fourth = odr_nullval(); s->fifth = odr_intdup(encode, YC_MySequence_enum1); @@ -84,9 +81,6 @@ void tst_MySequence2(ODR encode, ODR decode) s->second = (Odr_oct *) odr_malloc(encode, sizeof(*s->second)); s->second->buf = (char *) "hello"; s->second->len = 5; -#if OCT_SIZE - s->second->size = 0; -#endif s->third = odr_booldup(encode, 1); s->fourth = odr_nullval(); s->fifth = odr_intdup(encode, YC_MySequence_enum1);