diff options
author | Tom Tromey <tom@tromey.com> | 2024-04-11 20:34:17 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2024-04-17 16:10:31 -0600 |
commit | b060213e0c9866469600b31ed570f483b3281c96 (patch) | |
tree | 6919cd26603a1f6274095cada3e9556aec764fce /libctf/ctf-string.c | |
parent | 56f4dea207d690fff70a3ccb6fe10ebe1e4697c0 (diff) | |
download | gdb-b060213e0c9866469600b31ed570f483b3281c96.zip gdb-b060213e0c9866469600b31ed570f483b3281c96.tar.gz gdb-b060213e0c9866469600b31ed570f483b3281c96.tar.bz2 |
Remove a copy from c-exp.y:parse_number
parse_number copies its input string, but there is no need to do this.
This patch removes the copy.
Regression tested on x86-64 Fedora 38.
Reviewed-by: Keith Seitz <keiths@redhat.com>
Diffstat (limited to 'libctf/ctf-string.c')
0 files changed, 0 insertions, 0 deletions