]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Remove some unneeded casts from remote.c
authorTom Tromey <tom@tromey.com>
Thu, 8 Sep 2016 15:49:07 +0000 (09:49 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 8 Sep 2016 15:50:28 +0000 (09:50 -0600)
commitf5c4fcd9712f516e2b5cfb8ad2464f0d5dfcc61b
tree3d55540a50441faf2f18cec3bcb36d2b5a7f53f8
parent8d471ec1e73eea3ff8ff6954283f8f16e7a7bc84
Remove some unneeded casts from remote.c

I happened to notice a few unneeded casts in remote.c.  In some cases
these are no-ops, and in others these cast away const, but in a context
where this is not needed.

I'm checking this in under the obvious rule.
Tested by rebuilding on x86-64 Fedora 24.

2016-09-08  Tom Tromey  <tom@tromey.com>

* remote.c (remote_notif_stop_ack, remote_wait_as)
(show_remote_cmd): Remove unneeded casts.
gdb/ChangeLog
gdb/remote.c