[gcc(refs/users/mikael/heads/refactor_descriptor_v206 .01)] Suppression variable inutilisée

Mikael Morin via Gcc-cvs <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:ce6db2b2bfeb830dc9385df407b2bb76dc1076da

commit ce6db2b2bfeb830dc9385df407b2bb76dc1076da
Author: Mikael Morin <[email protected]>
Date:   Fri Aug 21 22:07:14 2026 +0200

    Suppression variable inutilisée

Diff:
---
 gcc/fortran/trans-descriptor.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gcc/fortran/trans-descriptor.cc b/gcc/fortran/trans-descriptor.cc
index f8a081a6835e..cfec596eb02a 100644
--- a/gcc/fortran/trans-descriptor.cc
+++ b/gcc/fortran/trans-descriptor.cc
@@ -945,7 +945,6 @@ is_polymorphic_expr (tree expr, tree *class_ref = nullptr)
 	}
       else if (TREE_CODE (e) == COMPONENT_REF)
 	{
-	  seen_component = true;
 	  tree base_obj = TREE_OPERAND (e, 0);
 	  tree field_decl = TREE_OPERAND (e, 1);
 	  tree field_name = DECL_NAME (field_decl);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.