Remove two unused variables
authorVolker Lendecke <vl@samba.org>
Wed, 23 Jan 2008 09:33:36 +0000 (10:33 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 23 Jan 2008 09:33:36 +0000 (10:33 +0100)
(This used to be commit f12ac1ecedd6634d8ccc54d8fce8382514e3322f)

source3/modules/vfs_default.c
source3/smbd/process.c

index 9c5b644a5031ef3317006d0a0b79239510bf3917..cf135dfd0302c68ff26d2306e06a65163b3dada4 100644 (file)
@@ -961,7 +961,6 @@ static NTSTATUS vfswrap_streaminfo(vfs_handle_struct *handle,
                                   struct stream_struct **pstreams)
 {
        SMB_STRUCT_STAT sbuf;
-       NTSTATUS status;
        unsigned int num_streams = 0;
        struct stream_struct *streams = NULL;
        int ret;
index a5bdb9665032a6db29d1eaede6ce9cc27df16a82..6fd4d17d885b3f3f0b7568381f8ab3834a93cbf0 100644 (file)
@@ -23,7 +23,6 @@
 extern struct auth_context *negprot_global_auth_context;
 extern int smb_echo_count;
 
-const int total_buffer_size = (BUFFER_SIZE + LARGE_WRITEX_HDR_SIZE + SAFETY_MARGIN);
 static enum smb_read_errors smb_read_error = SMB_READ_OK;
 
 /*