Make gcc more happy and silence unused vars