The function add_name_to_subnet(), in file nmbd_namelistdb.c, returns a
authorChristopher R. Hertel <crh@samba.org>
Tue, 23 Jun 1998 08:15:05 +0000 (08:15 +0000)
committerChristopher R. Hertel <crh@samba.org>
Tue, 23 Jun 1998 08:15:05 +0000 (08:15 +0000)
commit384122d165ed6d5d211a29e5a63a63bf5cd82c75
tree4b0cb7055c86744a17c43ba88cf13210f0164ac1
parentc749c8d0460feddafaa68654d8a4bec33f97cc8c
The function add_name_to_subnet(), in file nmbd_namelistdb.c, returns a
pointer to the newly constructed name list entry.  In most cases, this
return value is ignored.  The two exceptions are in asyncdns.c and
nmbd_winsproxy.c.

Most of the calls which ignored the return value were not cast to void, so
I added the cast.  This helped me sort out which calls really did use the
return value.  I also discovered one case, in nmbd_winsserver.c, in which
the return value was being stored to a variable which, in turn, was not
used.

Chris -)-----
source/nmbd/nmbd_become_lmb.c
source/nmbd/nmbd_lmhosts.c
source/nmbd/nmbd_namelistdb.c
source/nmbd/nmbd_nameregister.c
source/nmbd/nmbd_winsproxy.c
source/nmbd/nmbd_winsserver.c