Avoided unused-but-set-variable warning in gcc.