compile warning: unused var