scan-build: Dead increment in multiple tests
llvm 5.0.0 scan-build reports Dead increment (Dead store) in bin/tests/system/pipelined/pipequeries.c, bin/tests/system/tkey/keydelete.c and bin/tests/system/pipelined/pipequeries.
Install full llvm (on Mac OS X: brew install llvm --with-toolchain
)
Unpack the zip scan-build-2017-12-18-110416-46298-1.zip and run:
scan-view scan-build-2017-12-18-110416-46298-1
(on Mac OS X /usr/local/opt/llvm/scan-view scan-build-2017-12-18-110416-46298-1
)