summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-23 10:33:36 +0100
committerVolker Lendecke <vl@samba.org>2008-01-23 10:33:36 +0100
commit5b35ecd930dc6267821c7a3d8b3a90c680ab71b1 (patch)
tree7d5d623beca3f712b548521c1ffc313141fb066e /source3
parenta60b913a37d577d6bb52fbdb0987eb7c9ea9edcc (diff)
downloadsamba-5b35ecd930dc6267821c7a3d8b3a90c680ab71b1.tar.gz
samba-5b35ecd930dc6267821c7a3d8b3a90c680ab71b1.tar.bz2
samba-5b35ecd930dc6267821c7a3d8b3a90c680ab71b1.zip
Remove two unused variables
(This used to be commit f12ac1ecedd6634d8ccc54d8fce8382514e3322f)
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_default.c1
-rw-r--r--source3/smbd/process.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index 9c5b644a50..cf135dfd03 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -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;
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index a5bdb96650..6fd4d17d88 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -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;
/*