cls_rbd_client.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
ErasureCodePlugin.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
ErasureCodeIsa.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
ErasureCodeLrc.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
mds/MDS.cc: remove unused local variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
mds/Server.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
mon/OSDMonitor.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
os/HashIndex.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
os/KeyValueStore.cc: reduce scope of variables

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
os/chain_xattr.cc: reduce scope of some variables

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
osd/PG.h: add cppcheck-suppress

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
osd/PGLog.cc: reduce scope of variable, remove not needed code

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
osd/ReplicatedPG.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
rbd-replay-prep.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
rgw_rest_user.cc: reduce scope of key_type in several places

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
TestSignalHandlers.cc: add cppcheck-suppress nullPointer

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
test_shared_cache.cc: reduce scope of local variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
test_sharedptr_registry.cc: reduce scope of local variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
TestCrushWrapper.cc: reduce scope of variabele

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
TestErasureCodeIsa.cc: reduce scope of 'err' variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>