]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lib/cache: simplify rdataset_dematerialize()
authorVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 14 May 2021 08:44:26 +0000 (10:44 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 25 May 2021 12:39:45 +0000 (14:39 +0200)
commit758fd76f72d756f57a264fa3b5a027f29e4b8960
treeb9ddd7223bd816352b2dc5a3121a4f9b1dccb1ae
parent7cc1a94485d838ac9122cbc4867b29d3157322dc
lib/cache: simplify rdataset_dematerialize()

Trying to handle the NULL here was pointless, so let's simplify.
As it was, it couldn't trigger anyway (would crash earlier).
lib/cache/api.c
lib/cache/entry_rr.c
lib/cache/impl.h