[pushed] gdb/unittests/intrusive-list: remove unnecessary local objects

Message ID 20240722181219.143199-1-simon.marchi@efficios.com
State New
Headers
Series [pushed] gdb/unittests/intrusive-list: remove unnecessary local objects |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_gdb_build--master-arm warning Patch is already merged

Commit Message

Simon Marchi July 22, 2024, 6:12 p.m. UTC
  These objects are not used.

Change-Id: I90127f7b2d1543718c841b54173521d9ab3f652f
---
 gdb/unittests/intrusive_list-selftests.c | 1 -
 1 file changed, 1 deletion(-)


base-commit: 7dc9fbb845c2a048191f5045c18e833bb8255977
  

Patch

diff --git a/gdb/unittests/intrusive_list-selftests.c b/gdb/unittests/intrusive_list-selftests.c
index 28d0134ffe6b..b17ce92c0099 100644
--- a/gdb/unittests/intrusive_list-selftests.c
+++ b/gdb/unittests/intrusive_list-selftests.c
@@ -570,7 +570,6 @@  struct intrusive_list_test
 
     {
       /* Both lists empty.  */
-      item_type a ("a"), b ("b"), c ("c");
       ListType list1;
       ListType list2;
       std::vector<const item_type *> expected;