From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Elliston To: sourcenav@sources.redhat.com Subject: [Patch] Remove warning in dbsym.c Date: Mon, 13 Nov 2000 06:31:00 -0000 Message-id: <200011131431.eADEVD526656@scooby.cygnus.com> X-SW-Source: 2000-q4/msg00220.html The following patch eliminates a warning from GCC about `ret' being possibly unused. The warning is correct. 2000-11-14 Ben Elliston * dbsym.c (dbisempty): Initialise local variable to allay compiler warnings. *** dbsym.c 2000/04/20 00:38:38 1.31 --- dbsym.c 2000/11/13 14:28:17 *************** *** 413,419 **** DB *db_exclude = pars->db_exclude; DBT data; DBT key; ! int ret; int flag; int cou; int len; --- 413,419 ---- DB *db_exclude = pars->db_exclude; DBT data; DBT key; ! int ret = 0; int flag; int cou; int len;