summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorTom Hromatka <tom.hromatka@oracle.com>2020-12-02 13:27:27 -0700
committerPaul Moore <paul@paul-moore.com>2021-07-26 22:29:27 -0400
commit947ecc884d5c503c08fd10d580cb6b353fa0f31a (patch)
tree815e81d65483276319a3f477f909c309448f9646 /.github
parentdc775c014880cebb0087fb130d0163ff6f56e912 (diff)
downloadlibseccomp-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