fix code Static Analysis Warnings
Merge pull request #580 from adamgsoc2013/ut_plu_dbi

fix code Static Analysis Warnings