From 4580363540605bea68d5b63de38b480d3d44ca81 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 19 Feb 2006 18:34:13 +0000 Subject: [PATCH] More proper initialization ot union .. Not that it makes a difference --- src/pquery.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 1.7.10.4