diff options
author | Tom Tromey <tromey@redhat.com> | 2013-05-30 17:04:03 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-05-30 17:04:03 +0000 |
commit | 25f435004904ce1dce520d7dcc40eb9b623e244e (patch) | |
tree | 3fb8c77ea5c1215acfc79cc0b138a8f4e35ef4a0 /gdb/python/python.c | |
parent | d6a2e54a5d26fe98bd8a44b03cbec133188435ed (diff) | |
download | binutils-25f435004904ce1dce520d7dcc40eb9b623e244e.zip binutils-25f435004904ce1dce520d7dcc40eb9b623e244e.tar.gz binutils-25f435004904ce1dce520d7dcc40eb9b623e244e.tar.bz2 |
cleanup fixes for inf-ptrace.c
This is one of the stylistic patches. The code here in inf-ptrace.c
is not incorrect, but it is in a style that the cleanup checker cannot
handle. This patch changes it to a simpler style, following the usual
method of introducing an unconditional "outer" cleanup.
* inf-ptrace.c (inf_ptrace_create_inferior): Unconditionally
call discard_cleanups.
(inf_ptrace_attach): Likewise.
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions