coverity_master 268 B

123456
  1. o Minor bugfixes:
  2. - Prevent using negative indices during unit test runs when read_all()
  3. fails. Spotted by coverity. Bugfix on 0.2.3.1.
  4. o Code simplifications and refactoring:
  5. - Remove a dead variable in the heartbeat log code. Spotted by coverity.