SWORD1: Initialize class variables in constructor

CID 1002998.
SWORD1: Removed unused class variable