]> git.ipfire.org Git - thirdparty/valgrind.git/commit
coregrind/m_debuginfo/readpdb.c (DEBUG_SnarfLinetab): Remove this_seg
authorMark Wielaard <mark@klomp.org>
Fri, 17 Oct 2025 23:27:57 +0000 (01:27 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 17 Oct 2025 23:35:43 +0000 (01:35 +0200)
commitb74d16c9b0db657ea321b72dc17d0c06022a7f71
tree0b1e64aad87d534114a47333386bce826444d709
parent3392155359822c0d4e8bb371862e92425054d02a
coregrind/m_debuginfo/readpdb.c (DEBUG_SnarfLinetab): Remove this_seg

GCC notices that this_seg is set, but never really used in this
function

m_debuginfo/readpdb.c: In function 'DEBUG_SnarfLinetab':
m_debuginfo/readpdb.c:1542:23: warning: variable 'this_seg' set but not used [-Wunused-but-set-variable=]
 1542 |    Int                this_seg;
      |                       ^~~~~~~~

Fix this by just removing this_seg.
coregrind/m_debuginfo/readpdb.c