[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-test-1908-gb3ac807
Jeremy Allison
jra at samba.org
Tue Feb 5 21:36:46 GMT 2008
The branch, v3-2-test has been updated
via b3ac8073a23afbba19d045302aa0700197c58bd5 (commit)
from 24aa3518aef7e36fde03d58f36487cbf29c027c9 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit b3ac8073a23afbba19d045302aa0700197c58bd5
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 5 13:36:17 2008 -0800
Fix a couple of "might be used uninitialized" warnings.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/smbd/process.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/smbd/process.c b/source/smbd/process.c
index 2a64386..68bec78 100644
--- a/source/smbd/process.c
+++ b/source/smbd/process.c
@@ -324,7 +324,7 @@ static NTSTATUS receive_smb_talloc(TALLOC_CTX *mem_ctx, int fd,
size_t *p_unread, bool *p_encrypted,
size_t *p_len)
{
- size_t len;
+ size_t len = 0;
NTSTATUS status;
*p_encrypted = false;
@@ -719,7 +719,7 @@ static NTSTATUS receive_message_or_smb(TALLOC_CTX *mem_ctx, char **buffer,
int selrtn;
struct timeval to;
int maxfd = 0;
- size_t len;
+ size_t len = 0;
NTSTATUS status;
*p_unread = 0;
--
Samba Shared Repository
More information about the samba-cvs
mailing list