From: Volker Lendecke Date: Tue, 10 Jul 2007 12:22:44 +0000 (+0000) Subject: r23813: Remove unused global variable X-Git-Tag: samba-misc-tags/initial-v3-2-unstable~763 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b811134c02ff9b24d3e36c1ff94b32946c6183c;p=thirdparty%2Fsamba.git r23813: Remove unused global variable --- diff --git a/source/smbd/process.c b/source/smbd/process.c index 0e39614f586..e6bafa8dc3c 100644 --- a/source/smbd/process.c +++ b/source/smbd/process.c @@ -20,7 +20,6 @@ #include "includes.h" -uint16 global_smbpid; extern struct auth_context *negprot_global_auth_context; extern int smb_echo_count; @@ -918,10 +917,6 @@ static int switch_message(int type,char *inbuf,char *outbuf,int size,int bufsize return(-1); } - /* yuck! this is an interim measure before we get rid of our - current inbuf/outbuf system */ - global_smbpid = SVAL(inbuf,smb_pid); - if (smb_messages[type].fn == NULL) { DEBUG(0,("Unknown message type %d!\n",type)); smb_dump("Unknown", 1, inbuf, size);