fixed two warnings, one of them had a segfault-probability
fixed two warnings, one of them had a segfault-probability

cruppstahl/upscaledb,cloudrain21/hamsterdb,cloudrain21/hamsterdb,cruppstahl/upscaledb,cruppstahl/upscaledb,cruppstahl/upscaledb,cloudrain21/hamsterdb,cloudrain21/hamsterdb,cruppstahl/upscaledb,cloudrain21/hamsterdb,cloudrain21/hamsterdb,cruppstahl/upscaledb,cloudrain21/hamsterdb,cruppstahl/upscaledb