[release] Removes unused parameter warnings with -Wall -Wextra