NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-pmax/52683: src/sys/arch/pmax/ibus/sii.c:342: 2 * redundant assignment



>Number:         52683
>Category:       port-pmax
>Synopsis:       src/sys/arch/pmax/ibus/sii.c:342: 2 * redundant assignment
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-pmax-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 31 11:55:00 +0000 2017
>Originator:     David Binderman
>Release:        cvs-20171031
>Organization:
>Environment:
>Description:
src/sys/arch/pmax/ibus/sii.c:342]: (warning) Redundant assignment of 'regs->cstat' to itself.
> [src/sys/arch/pmax/ibus/sii.c:343]: (warning) Redundant assignment of 'regs->dstat' to itself.


Source code is

    regs->cstat = regs->cstat;
    regs->dstat = regs->dstat;

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index