summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-07-10 12:22:44 +0000
committerVolker Lendecke <vlendec@samba.org>2007-07-10 12:22:44 +0000
commit4e6860070daf10817c43442e771d91b6af7bfa37 (patch)
tree6cad4f74bfdd66b92934e77ded9aeabc8b50bcb7
parentcf6be910a4ff429b68ac589b2496c474fee6dbf2 (diff)
downloadsamba-4e6860070daf10817c43442e771d91b6af7bfa37.tar.gz
samba-4e6860070daf10817c43442e771d91b6af7bfa37.tar.xz
samba-4e6860070daf10817c43442e771d91b6af7bfa37.zip
r23813: Remove unused global variable
-rw-r--r--source/smbd/process.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/smbd/process.c b/source/smbd/process.c
index a1ed0307313..27753927f92 100644
--- a/source/smbd/process.c
+++ b/source/smbd/process.c
@@ -20,7 +20,6 @@
#include "includes.h"
-uint16 global_smbpid;
extern int keepalive;
extern struct auth_context *negprot_global_auth_context;
extern int smb_echo_count;
@@ -910,10 +909,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);