simplify cli-logging.c for analysis
authorTom Tromey <tromey@redhat.com>
Thu, 30 May 2013 17:13:19 +0000 (17:13 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 30 May 2013 17:13:19 +0000 (17:13 +0000)
commite12fefc804bcbe2d53554390b76f07005632a526
tree094e10dc9c60d6b54cc1df006e14d206d3aad2dc
parent4867f990df59cbde08a2e09471f1ca7c1404a14b
simplify cli-logging.c for analysis

This is another stylistic patch.  It changes cli-logging.c to be
analyzable by the checker, again following the method of adding an
outer cleanup and unconditionally calling do_cleanups.

* cli/cli-logging.c (set_logging_redirect): Unconditionally
call do_cleanups.
gdb/ChangeLog
gdb/cli/cli-logging.c