svn commit: samba r16421 - in trunk/source/nsswitch: .

jra at samba.org jra at samba.org
Tue Jun 20 18:30:18 GMT 2006


Author: jra
Date: 2006-06-20 18:30:18 +0000 (Tue, 20 Jun 2006)
New Revision: 16421

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16421

Log:
winbindd_demote_client isn't used and generates
a Klocwork issue (#1844). Remove it
Jeremy.

Modified:
   trunk/source/nsswitch/winbindd_util.c


Changeset:
Modified: trunk/source/nsswitch/winbindd_util.c
===================================================================
--- trunk/source/nsswitch/winbindd_util.c	2006-06-20 18:14:33 UTC (rev 16420)
+++ trunk/source/nsswitch/winbindd_util.c	2006-06-20 18:30:18 UTC (rev 16421)
@@ -976,14 +976,6 @@
 	_num_clients--;
 }
 
-/* Demote a client to be the last in the list */
-
-void winbindd_demote_client(struct winbindd_cli_state *cli)
-{
-	struct winbindd_cli_state *tmp;
-	DLIST_DEMOTE(_client_list, cli, tmp);
-}
-
 /* Close all open clients */
 
 void winbindd_kill_all_clients(void)



More information about the samba-cvs mailing list