Fixed a possibly unused variable.