]> git.ipfire.org Git - thirdparty/bind9.git/commit
Eliminate a variable that can confuse the compiler
authorTony Finch <fanf@isc.org>
Thu, 28 Apr 2022 11:01:28 +0000 (12:01 +0100)
committerTony Finch <fanf@isc.org>
Mon, 2 May 2022 20:11:12 +0000 (21:11 +0100)
commit2dfe90a013d33b5a6e5795b9a9f67719ea8ce787
tree0770eba07ff699d6c516797faf12dbbf32fad6f7
parent6ea045cd0d70decdde57086e25d50b4f6d1a9238
Eliminate a variable that can confuse the compiler

Sometimes the compiler is unable to see that the `empty` variable was
initialized by the call to is_empty(), which can cause a build
failure; I encountered this with CFLAGS=-Os. So get rid of it and use
the result from `is_empty()` instead.
lib/dns/zoneverify.c