Fix Wunused-variable warning