[Bug 217783] sys/dev/cyapa/cyapa.c: PVS-Studio: V778 Two similar code fragments were found. Perhaps, this is a typo and 'cap_resy' variable should be used instead of 'cap_resx'.
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Mar 14 13:29:26 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217783
Bug ID: 217783
Summary: sys/dev/cyapa/cyapa.c: PVS-Studio: V778 Two similar
code fragments were found. Perhaps, this is a typo and
'cap_resy' variable should be used instead of
'cap_resx'.
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: razmyslov at viva64.com
Created attachment 180816
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180816&action=edit
git patch
We have found and fixed a bug 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: V778 Two similar code fragments were found. Perhaps, this is
a typo and 'cap_resy' variable should be used instead of 'cap_resx'. cyapa.c
1458
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list