1 Aug 2009 04:30
[RFA] Dead variables, remote.c
Michael Snyder <msnyder <at> vmware.com>
2009-08-01 02:30:52 GMT
2009-08-01 02:30:52 GMT
While poking in remote.c I noticed some unused local variables, and (with gcc's help) found 28 of them in 16 functions. Not a huge priority, but should actually make the code easier to understand...
2009-07-31 Michael Snyder <msnyder <at> vmware.com> * remote.c (remote_add_inferior): Remove unused local. (remote_add_thread): Ditto. (read_ptid): Ditto. (remote_current_thread): Ditto. (remote_stop_ns): Ditto. (remote_parse_stop_reply): Ditto. (remote_get_pending_stop_replies): Ditto. (remote_wait_ns): Ditto. (remote_wait_as): Ditto. (send_g_packet): Ditto. (remote_fetch_registers): Ditto. (store_register_using_P): Ditto. (remote_store_registers): Ditto. (remote_remove_breakpoint): Ditto. (remote_write_qxfer): Ditto. (remote_read_qxfer): Ditto. Index: remote.c =================================================================== RCS file: /cvs/src/src/gdb/remote.c,v(Continue reading)
RSS Feed