]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/dwarf: remove unnecessary `this->` in read.c
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 5 Mar 2025 21:10:10 +0000 (16:10 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 6 Mar 2025 16:39:00 +0000 (11:39 -0500)
commitebb283e4ae23a647eaf4d6f417178e49f135f2e7
tree821aa0c4496ac12b7b080b966045dfea352cd310
parentf5484e9b6cfca96874b79e91711f80efe4eed9f5
gdb/dwarf: remove unnecessary `this->` in read.c

I like using `this->` when it's unclear that the method or field
accessed is within the current class, but when accessing a private
member prefixed with `m_`, it's unnecessary, as the prefix makes it
clear.  Remove some instances of it (some coming from the previous
patch, other pre-existing) to de-clutter the code a bit.

Change-Id: Ia83d0bce51d222fa3ac3d756d50170ec6ed12b94
Approved-By: Tom Tromey <tom@tromey.com>
gdb/dwarf2/read.c