fix compile warning - drop unused variable