]> git.ipfire.org Git - thirdparty/bind9.git/commit
Remove dead stores reported by scan-build
authorMichal Nowak <mnowak@isc.org>
Mon, 22 Jun 2026 19:24:33 +0000 (21:24 +0200)
committerMichal Nowak <mnowak@isc.org>
Thu, 23 Jul 2026 12:22:12 +0000 (14:22 +0200)
commit955bd4982e4fb61a40c91ba7eba075bcab97b7ca
treea1e3adae7d5f43fcdfca6cb0bc4c598fa7e0dae5
parent597f798fade09169d5ca9b61070c03c78fc3728c
Remove dead stores reported by scan-build

The syncplugin test driver overwrote two dns_name_fromstring() results
without checking them; wrap the calls in CHECK():

    bin/tests/system/hooks/driver/test-syncplugin.c:156:3: warning: Value stored to 'result' is never read [deadcode.DeadStores]
    bin/tests/system/hooks/driver/test-syncplugin.c:158:3: warning: Value stored to 'result' is never read [deadcode.DeadStores]

Assisted-by: Claude:claude-opus-4-8
bin/tests/system/hooks/driver/test-syncplugin.c