cppcheck: unusedPrivateFunction

Change-Id: Id9634d47b009c4208169cf7f3793ba927ce95a64
cppcheck: catchExceptionByValue

Change-Id: Idbb7a68a9517270325fd9ec34c14d663573318ac
cppcheck: variableScope

Change-Id: I36c0d491bc27ff93c13b1c497e450646d7151df4
cppcheck: unreadVariable

Change-Id: Ifbcae35c0cf3bdb9ba5c680b1627117c47d6c9a0
cppcheck: unreadVariable

Change-Id: Iedb0eaa740943964b9f6242f7908099a92077413
cppcheck: unreadVariable

Change-Id: If3d480bf3032ec2bd2edc62bb73dd93b00c2cbe7
cppcheck: unreadVariable

Change-Id: I5d897d968ca2640d1d127e799937cc6c3eabaf36