Remove unused parameter

As well as silencing an unused result warning (pops up with clang)