Add scrutinizer-ci

Signed-off-by: crynobone <crynobone@gmail.com>
Remove unused local variables.

Signed-off-by: crynobone <crynobone@gmail.com>