X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fpquery.c;h=36733a375ed6d192bfd83ebe13d362c93a67d2a1;hb=32e16c37ce5b2d1ed0b3e6edfb48fd5ae1ec24b3;hp=dcb0cb5ad2a425b881256ce1ce3b50372f66a5c2;hpb=7a98e9bfbb9d5fe7d44822a9838e3becbdce9363;p=yaz-moved-to-github.git diff --git a/src/pquery.c b/src/pquery.c index dcb0cb5..36733a3 100644 --- a/src/pquery.c +++ b/src/pquery.c @@ -1,8 +1,6 @@ -/* - * Copyright (C) 1995-2007, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2008 Index Data * See the file LICENSE for details. - * - * $Id: pquery.c,v 1.12 2007-05-08 08:22:36 adam Exp $ */ /** * \file pquery.c @@ -294,8 +292,7 @@ static Z_AttributesPlusTerm *rpn_term(struct yaz_pqf_parser *li, ODR o, Z_StringOrNumeric_string; elements[k]->value.complex->list[0]->u.string = attr_clist[i]; - elements[k]->value.complex->semanticAction = (int **) - odr_nullval(); + elements[k]->value.complex->semanticAction = 0; elements[k]->value.complex->num_semanticAction = 0; } else