Fix compile warning 'unused variable'