Fix unused variable error.
Earlier, this variable was used in an assert and was causing failure on
darwin.