fix mi-cmd-stack.c
authorTom Tromey <tromey@redhat.com>
Thu, 30 May 2013 17:35:40 +0000 (17:35 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 30 May 2013 17:35:40 +0000 (17:35 +0000)
commitcd82eddcf152515d67367cdca3fefdfe2aa31b7f
tree9311ff9967ece56626ae18c051bdeb6dd10b94bc
parent57cee33aeea77d8c6760ae27162b627f9687c32c
fix mi-cmd-stack.c

mi-cmd-stack.d had a conditional cleanup, "cleanup_tuple" that
confused the checker.  However, there was no need for this, since it
was only used via do_cleanups at the end of the function, just before
another call to do_cleanups.

So, while this is a stylistic patch for the checker, I also consider
it a generic improvement for readers of the code.

* mi/mi-cmd-stack.c (list_arg_or_local): Remove
"cleanup_tuple".
gdb/ChangeLog
gdb/mi/mi-cmd-stack.c