Fixed local variable never used