Fixes coverity issue 1061545 Uninitialized scalar field
removing dead code