Bug 218002

Summary: sys/dev/mps/mps.c: PVS-Studio: Dead Code (CWE-561)
Product: Base System Reporter: Svyatoslav <razmyslov>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Many People CC: emaste, scottl, slm
Priority: --- Keywords: patch
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
git patch none

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