* [Patch] Remove warning in dbsym.c
@ 2000-11-13 6:31 Ben Elliston
0 siblings, 0 replies; only message in thread
From: Ben Elliston @ 2000-11-13 6:31 UTC (permalink / raw)
To: sourcenav
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-11-13 6:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-13 6:31 [Patch] Remove warning in dbsym.c Ben Elliston
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).