diff options
author | Noel Power <noel.power@suse.com> | 2019-08-14 12:21:32 +0100 |
---|---|---|
committer | Gary Lockyer <gary@samba.org> | 2019-08-27 23:04:37 +0000 |
commit | bf567380a7cc69bf4dc4cf7bad6bc774fcef6085 (patch) | |
tree | 3bfcbed965601a893168560050c20659dde31a88 /source3/libsmb | |
parent | ce9fef5fd5ea5475748e99ba1e72abcb557afd83 (diff) | |
download | samba-bf567380a7cc69bf4dc4cf7bad6bc774fcef6085.tar.gz |
s3/libsmb: clang: Fix 'Value stored to 'ea_size' is never read'
Fixes:
source3/libsmb/clifile.c:5290:2: warning: Value stored to 'ea_size' is never read <--[clang]
ea_size = (size_t)IVAL(rdata,0);
^ ~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clifile.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index 2e53b56e64b..987b04d0a66 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -5287,7 +5287,6 @@ static bool parse_ea_blob(TALLOC_CTX *ctx, const uint8_t *rdata, return false; } - ea_size = (size_t)IVAL(rdata,0); p = rdata + 4; for (num_eas = 0; num_eas < *pnum_eas; num_eas++ ) { |