NetBSD-Bugs archive

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

kern/52681: src/sys/compat/netbsd32/netbsd32_conv.h: 4 * redundant assignment



>Number:         52681
>Category:       kern
>Synopsis:       src/sys/compat/netbsd32/netbsd32_conv.h: 4 * redundant assignment
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 31 11:50:00 +0000 2017
>Originator:     David Binderman
>Release:        cvs-20171031
>Organization:
>Environment:
>Description:
> [src/sys/compat/netbsd32/netbsd32_conv.h:286]: (warning) Redundant assignment of 'mhp32->msg_control' to itself.
> [src/sys/compat/netbsd32/netbsd32_conv.h:285]: (warning) Redundant assignment of 'mhp32->msg_iovlen' to itself.
> [src/sys/compat/netbsd32/netbsd32_conv.h:284]: (warning) Redundant assignment of 'mhp32->msg_namelen' to itself.
> [src/sys/compat/netbsd32/netbsd32_conv.h:283]: (warning) Redundant assignment of 'mhp32->msg_name' to itself.

Source code is

    mhp32->msg_name = mhp32->msg_name;
    mhp32->msg_namelen = mhp32->msg_namelen;
    mhp32->msg_iovlen = mhp32->msg_iovlen;
    mhp32->msg_control = mhp32->msg_control;

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index