X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fyaz-cql2rpn.cpp;h=3aa57fc26b44e99fc6e5a4f6e9f4c652c800fa42;hb=b217549fd1effa4467ac57a9e7510d75d7b8c446;hp=777c818f1d12378644f6bca9a30346b07e50a524;hpb=6d8928c9ef4a00aa732a2ee7bdc42c4646f8fc32;p=yazpp-moved-to-github.git diff --git a/src/yaz-cql2rpn.cpp b/src/yaz-cql2rpn.cpp index 777c818..3aa57fc 100644 --- a/src/yaz-cql2rpn.cpp +++ b/src/yaz-cql2rpn.cpp @@ -1,8 +1,6 @@ -/* - * Copyright (c) 1998-2004, Index Data. +/* This file is part of the yazpp toolkit. + * Copyright (C) 1998-2009 Index Data and Mike Taylor * See the file LICENSE for details. - * - * $Id: yaz-cql2rpn.cpp,v 1.13 2007-01-16 11:54:55 adam Exp $ */ #include @@ -65,7 +63,7 @@ int Yaz_cql2rpn::query_transform(const char *cql_query, { size_t off; const char *pqf_msg; - int code = yaz_pqf_error(pp, &pqf_msg, &off); + yaz_pqf_error(pp, &pqf_msg, &off); r = -1; } yaz_pqf_destroy(pp); @@ -85,6 +83,7 @@ int Yaz_cql2rpn::query_transform(const char *cql_query, /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab