s3/libsmb: clang: Fix '2nd func call argument is uninitalized value'
authorNoel Power <noel.power@suse.com>
Wed, 14 Aug 2019 13:49:51 +0000 (14:49 +0100)
committerGary Lockyer <gary@samba.org>
Tue, 27 Aug 2019 23:04:37 +0000 (23:04 +0000)
commitfcb0355a74ea1c5e446c8465dd2fb017970d408e
tree6ffe58b9ee02c860b8162820efe7bd1d9116559c
parente1ef99223684e830e4bd5c8e7b33323e25ffafc1
s3/libsmb: clang: Fix '2nd func call argument is uninitalized value'

Fixes:

source3/libsmb/clireadwrite.c:805:2: warning: 2nd function call argument is an uninitialized value <--[clang]
        memcpy(state->buf, buf, received);
        ^                  ~~~

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source3/libsmb/clireadwrite.c