Warning fix in smbfs



Hello, Pavel!

You did great work to remove unused code from smbfs!!!

This patch comments out one more function to fix warning about declared but
unused _interpret_node_status().

-- 
Regards,
Andrew V. Samoilov.
ChangeLog:

* samba/libsmb/namequery.c (_interpret_node_status): Comment out.

--- vfs/samba/libsmb/namequery.c~	Mon Sep  1 12:27:55 2003
+++ vfs/samba/libsmb/namequery.c	Tue Sep  9 22:19:45 2003
@@ -27,7 +27,7 @@ extern int DEBUGLEVEL;
 
 /* nmbd.c sets this to True. */
 BOOL global_in_nmbd = False;
-
+#if 0
 /****************************************************************************
 interpret a node status response
 ****************************************************************************/
@@ -80,7 +80,7 @@ static void _interpret_node_status(char 
   DEBUG(1,("num_good_sends=%d num_good_receives=%d\n",
 	       IVAL(p,20),IVAL(p,24)));
 }
-
+#endif /* 0 */
 
 /****************************************************************************
   do a netbios name query to find someones IP


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]