v4.10 gcc warning for readLog