diff options
author | Tom Hromatka <tom.hromatka@oracle.com> | 2020-12-02 13:27:27 -0700 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2021-07-26 22:29:27 -0400 |
commit | 947ecc884d5c503c08fd10d580cb6b353fa0f31a (patch) | |
tree | 815e81d65483276319a3f477f909c309448f9646 /.github | |
parent | dc775c014880cebb0087fb130d0163ff6f56e912 (diff) | |
download | libseccomp-947ecc884d5c503c08fd10d580cb6b353fa0f31a.tar.gz |
tools: fix scan-build warnings in scmp_bpf_disasm
Delete the unused variable 'len' from scmp_bpf_disasm.
scan-build identified the following two warnings:
scmp_bpf_disasm.c:304:10: warning: Although the value stored to 'len'
is used in the enclosing expression, the value is never actually read
from 'len'
while ((len = fread(&bpf, sizeof(bpf), 1, file))) {
scmp_bpf_disasm.c:441:10: warning: Although the value stored to 'len' is
used in the enclosing expression, the value is never actually read from
'len'
while ((len = fread(&bpf, sizeof(bpf), 1, file))) {
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions