Use (void)error_unused to avoid unused warning (#71000)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/71000
Test Plan: Sandcastle
Reviewed By: ngimel
Differential Revision: D33470600
fbshipit-source-id: 868a6ee33a04846bd1efbe06ab306fbaad3bf9db