[Bug 217745] sys/dev/pms/RefTisa/sallsdk/spc/sampirsp.c: PVS-Studio: Expression is Always True (CWE-571) (2)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 02 Feb 2025 16:38:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217745

--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=ead758a67a6b584293cfe02cd6c5cbefb6a4926f

commit ead758a67a6b584293cfe02cd6c5cbefb6a4926f
Author:     Svyatoslav <razmyslov@viva64.com>
AuthorDate: 2025-02-02 16:35:51 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-02-02 16:35:51 +0000

    pms: Fix always true condition

    Although this is vendor code, and apparently abandoned vendor code at
    that, this is clearly a mistake and always true. It's unclear how to
    contribute back to the upstream at this point, alas.

    PR: 217745
    Reviewed by: imp

 sys/dev/pms/RefTisa/sallsdk/spc/sampirsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.