Description of problem: Reported by coverity scan of RHEL8 package. 1. dnsmasq-2.79/src/rfc3315.c:344:7: warning[deadcode.DeadStores]: Value stored to 'outmsgtype' is never read # 342| # 343| { # 344|-> outmsgtype = DHCP6REPLY; # 345| o1 = new_opt6(OPTION6_STATUS_CODE); # 346| put_opt6_short(DHCP6USEMULTI); Similar version is still on line 351 in latest upstream release. Version-Release number of selected component (if applicable): dnsmasq-2.89-1.fc39 How reproducible: reliable Steps to Reproduce: 1. run coverity scan on dnsmasq 2. 3. Actual results: 1. Defect type: CLANG_WARNING 1. dnsmasq-2.79/src/rfc3315.c:344:7: warning[deadcode.DeadStores]: Value stored to 'outmsgtype' is never read # 342| # 343| { # 344|-> outmsgtype = DHCP6REPLY; # 345| o1 = new_opt6(OPTION6_STATUS_CODE); # 346| put_opt6_short(DHCP6USEMULTI); Expected results: Nothing reported Additional info:
Reported upstream with candidate patch: https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2023q1/016930.html
Fixed by upstream a bit different way: http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=00be8b39e240934e404533deda08cbae2aae25a8
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39.