fixed Coverity issues 1187612, 1187611 and 1187610.
 Uninitialized scalar variables.