Fix unused-variable warning