Fix unused local variable