diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2015-12-01 18:04:39 +0100 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2015-12-01 18:04:39 +0100 |
commit | 974eac9d7694ca14dcdf6d1a74777a265fffdb95 (patch) | |
tree | 3e8196d7408a808419d323cb9aabacddfa5055fe /ld/testsuite/ld-i386 | |
parent | 2e3b657e3a811087533cec33307eb8bbf454cd1c (diff) | |
download | gdb-974eac9d7694ca14dcdf6d1a74777a265fffdb95.zip gdb-974eac9d7694ca14dcdf6d1a74777a265fffdb95.tar.gz gdb-974eac9d7694ca14dcdf6d1a74777a265fffdb95.tar.bz2 |
Avoid "operation may be undefined" warning in remote.c
GCC 4.1 gives the following warning:
gdb/remote.c: In function 'remote_parse_stop_reply':
gdb/remote.c:6549: warning: operation on 'p' may be undefined
on this line of code:
event->ptid = read_ptid (++p, &p);
Since p actually isn't used afterwards anyway, simply use NULL.
gdb/
* remote.c (remote_parse_stop_reply): Avoid GCC 4.1 "operation
may be undefined" warning.
Diffstat (limited to 'ld/testsuite/ld-i386')
0 files changed, 0 insertions, 0 deletions