Fixed a warning regarding unused variable