]> granicus.if.org Git - pdns/commit
rec: Initialize MemRecursorCache::d_state in the ctor
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 28 Jun 2017 08:57:49 +0000 (10:57 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 28 Jun 2017 08:57:49 +0000 (10:57 +0200)
commit8edd5bb4526c356b350d21146f0d23ff9d61a90d
tree4381f64f45365abd2f5a8136ede73d1a57f508ca
parentb02741323380a6994fdd2654bac4d54e85733d06
rec: Initialize MemRecursorCache::d_state in the ctor

It's always set in `MemRecursorCache::replace()`, which should be the
only place where we insert new values, but the explicit init makes
Coverity happy.
pdns/recursor_cache.hh