]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/unittests/intrusive-list: remove unnecessary local objects
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 22 Jul 2024 16:06:29 +0000 (12:06 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 22 Jul 2024 18:11:44 +0000 (14:11 -0400)
These objects are not used.

Change-Id: I90127f7b2d1543718c841b54173521d9ab3f652f

gdb/unittests/intrusive_list-selftests.c

index 28d0134ffe6bb6a035b69fd74df0775160d6c46e..b17ce92c009951136b1eb3267a7d69b463400a6a 100644 (file)
@@ -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;