#252 fix MDEV-6324 uninit var in discover3