dead code removed (SetVarProto)