Fix clang compilation error: unused variable.