]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r23813: Remove unused global variable
authorVolker Lendecke <vlendec@samba.org>
Tue, 10 Jul 2007 12:22:44 +0000 (12:22 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:28:29 +0000 (12:28 -0500)
source/smbd/process.c

index 0e39614f586cda14e2d34b0a97963f417ced17da..e6bafa8dc3c4b951c3ef7f05b8fc7574f6392afd 100644 (file)
@@ -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);