1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Fix a couple of "might be used uninitialized" warnings.

Jeremy.
(This used to be commit b3ac8073a2)
This commit is contained in:
Jeremy Allison 2008-02-05 13:36:17 -08:00
parent abe2fd7697
commit 47666c93a7

View File

@ -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;