[binutils-gdb] Remove unnecessary calls to is_mi_like_p in print_thread_info_1
sergiodj+buildbot@sergiodj.net
sergiodj+buildbot@sergiodj.net
Sun Sep 10 01:17:00 GMT 2017
*** TEST RESULTS FOR COMMIT 0d64823e51de0b0e0a94bdf88940310342a6e6fa ***
Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 0d64823e51de0b0e0a94bdf88940310342a6e6fa
Remove unnecessary calls to is_mi_like_p in print_thread_info_1
There are two calls to uiout->is_mi_like_p in the else branch of a
if (uiout->is_mi_like_p ()), we already know they will return false.
A bit lower, there are two if (!uiout->is_mi_like_p ()) that we can
merge.
gdb/ChangeLog:
* thread.c (print_thread_info_1): Remove unnecessary calls to
uiout->is_mi_like_p.
More information about the Gdb-testers
mailing list