Bug 217785 - sys/dev/mpr/mpr.c: PVS-Studio: Dead Code (CWE-561)
Summary: sys/dev/mpr/mpr.c: PVS-Studio: Dead Code (CWE-561)
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-03-14 13:40 UTC by Svyatoslav
Modified: 2019-05-29 21:01 UTC (History)
3 users (show)

See Also:


Attachments
git patch (382 bytes, patch)
2017-03-14 13:40 UTC, Svyatoslav
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Svyatoslav 2017-03-14 13:40:05 UTC
Created attachment 180818 [details]
git patch

We have found and fixed a weakness using PVS-Studio tool. PVS-Studio is a static code analyzer for C, C++ and C#: https://www.viva64.com/en/pvs-studio/

Analyzer warning: V779 Unreachable code detected. It is possible that an error is present. mpr.c 1329