This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug remote/17946] New: remote.c:5668 possible bad if test ?
- From: "dcb314 at hotmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 09 Feb 2015 12:50:05 +0000
- Subject: [Bug remote/17946] New: remote.c:5668 possible bad if test ?
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17946
Bug ID: 17946
Summary: remote.c:5668 possible bad if test ?
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: remote
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
[binutils-gdb/gdb/remote.c:5668]: (warning) Char literal compared with pointer
'p'. Did you intend to dereference it?
if (p == '\0')
;
Maybe
if (*p == '\0')
;
was intended.
--
You are receiving this mail because:
You are on the CC list for the bug.