Bug 2178069
| Summary: | rfc3315.c:344:7: warning[deadcode.DeadStores]: Value stored to 'outmsgtype' is never read | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Menšík <pemensik> |
| Component: | dnsmasq | Assignee: | Petr Menšík <pemensik> |
| Status: | ASSIGNED --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 39 | CC: | aegorenkov.91, dns-sig, dougsland, pemensik |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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. |
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: