diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-22 08:34:25 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-07-22 08:34:25 -0600 |
commit | bfa2a36d94d124eb7b54fd271a543047579b47ee (patch) | |
tree | 471ac74a26c597bc5e68046a4e2376499076c49f /bfd | |
parent | 0c628bba5afd16e0ab3d78ca81ab3f2d5342c50c (diff) | |
download | gdb-bfa2a36d94d124eb7b54fd271a543047579b47ee.zip gdb-bfa2a36d94d124eb7b54fd271a543047579b47ee.tar.gz gdb-bfa2a36d94d124eb7b54fd271a543047579b47ee.tar.bz2 |
Remove self-assign from make_invisible_and_set_new_height
In https://sourceware.org/ml/gdb-patches/2019-07/msg00509.html, Jan
pointed out that clang points out that
make_invisible_and_set_new_height self-assigns "height".
This patch fixes the bug by renaming the formal parameter.
gdb/ChangeLog
2019-07-22 Tom Tromey <tom@tromey.com>
* tui/tui-win.c (tui_win_info::make_invisible_and_set_new_height):
Don't self-assign.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions