lib/tdb/common: clang: Fix 'Value stored to 'last_ptr' is never read'
authorNoel Power <noel.power@suse.com>
Mon, 27 May 2019 15:47:54 +0000 (15:47 +0000)
committerNoel Power <npower@samba.org>
Tue, 11 Jun 2019 13:31:01 +0000 (13:31 +0000)
commit49e2d36918673e7922e4c983809ad1481db63f96
tree68800e025a83dc15b2b2aff937c69439145ccc4e
parent0152925879d68524e69ed5f02b323fe1bd7f706a
lib/tdb/common: clang: Fix 'Value stored to 'last_ptr' is never read'

Fixes

lib/tdb/common/freelistcheck.c:96:3: warning: Value stored to 'last_ptr' is never read <--[clang]
                last_ptr = rec_ptr;
                ^          ~~~~~~~

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer gary@catalyst.net.nz
Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Tue Jun 11 13:31:01 UTC 2019 on sn-devel-184
lib/tdb/common/freelistcheck.c