Re #6906. Remove unused variable (gcc compiler warning).