This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug remote/17946] New: remote.c:5668 possible bad if test ?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]