Fix -Werror -Wunused.