From: Adam Dickmeiss Date: Sun, 19 Feb 2006 18:34:13 +0000 (+0000) Subject: More proper initialization ot union .. Not that it makes a difference X-Git-Tag: YAZ.2.1.14~29 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=4580363540605bea68d5b63de38b480d3d44ca81 More proper initialization ot union .. Not that it makes a difference --- diff --git a/src/pquery.c b/src/pquery.c index 9dbba8b..9ee3584 100644 --- a/src/pquery.c +++ b/src/pquery.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: pquery.c,v 1.6 2005-06-25 15:46:04 adam Exp $ + * $Id: pquery.c,v 1.7 2006-02-19 18:34:13 adam Exp $ */ /** * \file pquery.c @@ -463,11 +463,11 @@ static Z_Complex *rpn_complex (struct yaz_pqf_parser *li, ODR o, oid_proto proto { case 'a': zo->which = Z_Operator_and; - zo->u.and_not = odr_nullval(); + zo->u.op_and = odr_nullval(); break; case 'o': zo->which = Z_Operator_or; - zo->u.and_not = odr_nullval(); + zo->u.op_or = odr_nullval(); break; case 'n': zo->which = Z_Operator_and_not;