X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=util%2Fyaz-ccl.c;h=6c856427ed14356115cfcf16f228a862ea6252ff;hp=5bf800677ada1a179f6978c9b527deaa9498c196;hb=28231d4c83085109d800c6689ae778cc041c51e7;hpb=7674cd40af86e353235cb1b509f4b4687167cdf2 diff --git a/util/yaz-ccl.c b/util/yaz-ccl.c index 5bf8006..6c85642 100644 --- a/util/yaz-ccl.c +++ b/util/yaz-ccl.c @@ -4,7 +4,11 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: yaz-ccl.c,v $ - * Revision 1.10 1997-09-29 08:58:25 adam + * Revision 1.11 1997-11-24 11:33:57 adam + * Using function odr_nullval() instead of global ODR_NULLVAL when + * appropriate. + * + * Revision 1.10 1997/09/29 08:58:25 adam * Fixed conversion of trees so that true copy is made. * * Revision 1.9 1997/06/23 10:31:25 adam @@ -65,7 +69,7 @@ static Z_AttributesPlusTerm *ccl_rpn_term (ODR o, struct ccl_rpn_node *p) } } else - zapt->attributeList = ODR_NULLVAL; + zapt->attributeList = odr_nullval(); zapt->term = term; term->which = Z_Term_general; @@ -114,15 +118,15 @@ static Z_Complex *ccl_rpn_complex (ODR o, struct ccl_rpn_node *p) { case CCL_RPN_AND: zo->which = Z_Operator_and; - zo->u.and = ODR_NULLVAL; + zo->u.and = odr_nullval(); break; case CCL_RPN_OR: zo->which = Z_Operator_or; - zo->u.and = ODR_NULLVAL; + zo->u.and = odr_nullval(); break; case CCL_RPN_NOT: zo->which = Z_Operator_and_not; - zo->u.and = ODR_NULLVAL; + zo->u.and = odr_nullval(); break; default: assert (0);