]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/dwarf: use ranged for loop in some spots
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 10 Mar 2025 18:40:59 +0000 (14:40 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 13 Mar 2025 02:27:12 +0000 (22:27 -0400)
commit292041562289a00364ff9baba6a0446ea208a174
tree578983de39f4dc5ac7a91e2386cece63ad445344
parent053438d7dd882e480b01486803356bad94b5d21e
gdb/dwarf: use ranged for loop in some spots

I noticed that these loops could be written to avoid the iteration
variable `i`.

Change-Id: I8b58eb9913b6ac8505ee45eb8009ef7027236cb9
gdb/dwarf2/index-write.c
gdb/dwarf2/read.c