Fixing gcc's weird unused warning