NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-bebox/50524: src/sys/arch/bebox/bebox/autoconf.c:165: suspicous comparison ?
>Number: 50524
>Category: port-bebox
>Synopsis: src/sys/arch/bebox/bebox/autoconf.c:165: suspicous comparison ?
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-bebox-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 11 09:40:00 +0000 2015
>Originator: David Binderman
>Release: c
>Organization:
>Environment:
>Description:
[src/sys/arch/bebox/bebox/autoconf.c:165]: (warning) Char literal compared with pointer 'p'. Did you intend to dereference it?
Source code is
if (p != '\0')
return;
Maybe
if (*p != '\0')
return;
would be better code ?
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index