public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb/binutils-2_41-branch] Replace local variable called 'rename' with 'renamed'
@ 2023-07-07 12:08 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2023-07-07 12:08 UTC (permalink / raw)
  To: bfd-cvs

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

commit ddb1d694217d64fdf266460b3e64c00b68a487cf
Author: Nick Clifton <nickc@redhat.com>
Date:   Fri Jul 7 13:08:46 2023 +0100

    Replace local variable called 'rename' with 'renamed'

Diff:
---
 ld/ldfile.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ld/ldfile.c b/ld/ldfile.c
index c8a6874978b..14ba1f1ecc0 100644
--- a/ld/ldfile.c
+++ b/ld/ldfile.c
@@ -199,7 +199,7 @@ ldfile_add_remap_file (const char * file)
 	  continue;
 	}
 
-      char * rename = p;
+      char * renamed = p;
 
       /* Advance past the rename entry.  */
       while (*p && *p != '=' && *p != ' ' && *p != '\t' && *p != '\f'
@@ -208,7 +208,7 @@ ldfile_add_remap_file (const char * file)
       /* And terminate it.  */
       *p = '\0';
 
-      ldfile_add_remap (pattern, rename);
+      ldfile_add_remap (pattern, renamed);
     }
   while (! feof (f));

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-07 12:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-07 12:08 [binutils-gdb/binutils-2_41-branch] Replace local variable called 'rename' with 'renamed' Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).