Bug 218002 - sys/dev/mps/mps.c: PVS-Studio: Dead Code (CWE-561)
Summary: sys/dev/mps/mps.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 mailing list
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-03-22 13:09 UTC by Svyatoslav
Modified: 2017-07-27 01:30 UTC (History)
2 users (show)

See Also:


Attachments
git patch (356 bytes, patch)
2017-03-22 13:09 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-22 13:09:17 UTC
Created attachment 181051 [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. mps.c 1306