[Patch] Remove warning in dbsym.c
Ben Elliston
bje@redhat.com
Mon Nov 13 06:31:00 GMT 2000
The following patch eliminates a warning from GCC about `ret' being
possibly unused. The warning is correct.
2000-11-14 Ben Elliston <bje@redhat.com>
* 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;
More information about the Sourcenav
mailing list