From: Adam Dickmeiss Date: Thu, 29 Apr 2004 21:15:14 +0000 (+0000) Subject: Get rid of GCC warnings X-Git-Tag: YAZ.2.0.20~23 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=c58035e31f65574542f72955007b1935c3669186;p=yaz-moved-to-github.git Get rid of GCC warnings --- diff --git a/util/cql2pqf.c b/util/cql2pqf.c index 02a0bc5..57575db 100644 --- a/util/cql2pqf.c +++ b/util/cql2pqf.c @@ -1,4 +1,4 @@ -/* $Id: cql2pqf.c,v 1.4 2004-03-16 13:22:16 adam Exp $ +/* $Id: cql2pqf.c,v 1.5 2004-04-29 21:15:14 adam Exp $ Copyright (C) 2002-2004 Index Data Aps @@ -22,7 +22,7 @@ static void usage() int main(int argc, char **argv) { cql_transform_t ct; - int r; + int r = 0; int i, iterations = 1; CQL_parser cp = cql_parser_create(); char *query = 0; diff --git a/util/cql2xcql.c b/util/cql2xcql.c index 536e019..b5adb40 100644 --- a/util/cql2xcql.c +++ b/util/cql2xcql.c @@ -1,4 +1,4 @@ -/* $Id: cql2xcql.c,v 1.4 2004-03-16 13:22:16 adam Exp $ +/* $Id: cql2xcql.c,v 1.5 2004-04-29 21:15:14 adam Exp $ Copyright (C) 2002-2004 Index Data Aps @@ -16,7 +16,7 @@ See the file LICENSE. int main(int argc, char **argv) { CQL_parser cp; - int r; + int r = 0; const char *fname = 0; int iterations = 1; int ret;