]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/dwarf: use ranged for loop in some pots
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 10 Mar 2025 18:40:59 +0000 (14:40 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 10 Mar 2025 20:09:02 +0000 (16:09 -0400)
commitb4f18de12c77d2838f413ca9b5f51f508123c277
tree88dc9bab3d872797475f2d23723daf0da15826ae
parentf62cf22157cf527f1cc5c91854b1be3373024d4a
gdb/dwarf: use ranged for loop in some pots

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

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