[binutils-gdb] gdb/testsuite: remove unused "variable" statement

Simon Marchi simark@sourceware.org
Wed Nov 5 19:31:28 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1fd463f36239ccd9f071ca519e93a00e8a06ace9

commit 1fd463f36239ccd9f071ca519e93a00e8a06ace9
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date:   Tue Nov 4 10:51:44 2025 -0500

    gdb/testsuite: remove unused "variable" statement
    
    Change-Id: I2e26a9953324c752edd01b37db6b176fd0ee9187

Diff:
---
 gdb/testsuite/lib/dwarf.exp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gdb/testsuite/lib/dwarf.exp b/gdb/testsuite/lib/dwarf.exp
index 55f33d47797..ba8197d0bb8 100644
--- a/gdb/testsuite/lib/dwarf.exp
+++ b/gdb/testsuite/lib/dwarf.exp
@@ -1015,7 +1015,6 @@ namespace eval Dwarf {
 
     proc _handle_DW_TAG {tag_name {attrs {}} {children {}}} {
 	variable _abbrev_section
-	variable _abbrev_num
 	variable _constants
 
 	set has_children [expr {[string length $children] > 0}]


More information about the Gdb-cvs mailing list