aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2025-03-05 14:13:40 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2025-03-06 11:14:54 -0500
commit9f5f1eb9a110bd46f7fc0c28ab187afac5e2124e (patch)
tree4e6a40cb7756e0b0d0ee02f21a70c62747e349d0 /gdb/ada-lang.c
parent606062ac5b194052371e1e3ba9465912a11a27ee (diff)
downloadbinutils-9f5f1eb9a110bd46f7fc0c28ab187afac5e2124e.zip
binutils-9f5f1eb9a110bd46f7fc0c28ab187afac5e2124e.tar.gz
binutils-9f5f1eb9a110bd46f7fc0c28ab187afac5e2124e.tar.bz2
gdb: remove unnecessary local variable in pager_file::puts
The lineptr variable isn't really necessary, we can just keep using linebuffer, since the original value is linebuffer isn't needed. Remove lineptr, and fix some comparisons to be explicit. Change-Id: If2f7df43bf79efd40149e46d5c77f9bc0439f879 Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/ada-lang.c')
0 files changed, 0 insertions, 0 deletions