[PATCH] gdb: remove unused f77_array_offset_tbl from f-valprint.c
Simon Marchi
simon.marchi@polymtl.ca
Tue Jan 12 05:50:24 GMT 2021
This variable appears to be unused. Its uses were removed in commit
3e2e34f8623d ("fort_dyn_array: Use value constructor instead of
raw-buffer manipulation.") back in 2016.
gdb/ChangeLog:
* f-valprint.c (f77_array_offset_tbl): Remove.
Change-Id: I39ff8d1b402e54ca2ade936f65e540f500cce86e
---
gdb/f-valprint.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/gdb/f-valprint.c b/gdb/f-valprint.c
index 613da3e46969..befa4c72174e 100644
--- a/gdb/f-valprint.c
+++ b/gdb/f-valprint.c
@@ -39,8 +39,6 @@
static void f77_get_dynamic_length_of_aggregate (struct type *);
-int f77_array_offset_tbl[MAX_FORTRAN_DIMS + 1][2];
-
/* Array which holds offsets to be applied to get a row's elements
for a given array. Array also holds the size of each subarray. */
--
2.29.2
More information about the Gdb-patches
mailing list