From: Volker Lendecke Date: Tue, 10 Jul 2007 12:22:44 +0000 (+0000) Subject: r23813: Remove unused global variable X-Git-Tag: samba-4.0.0alpha6~801^2~5403 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fa919f24f082dbcc7e5f88d69273eba4f72e8806;p=thirdparty%2Fsamba.git r23813: Remove unused global variable (This used to be commit 3b811134c02ff9b24d3e36c1ff94b32946c6183c) --- diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 0e39614f586..e6bafa8dc3c 100644 --- a/source3/smbd/process.c +++ b/source3/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);