]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/objcopy.c
objcopy: Avoid shadowing optarg.
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 26 Feb 2015 17:17:46 +0000 (17:17 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 26 Feb 2015 18:05:10 +0000 (18:05 +0000)
commit06b73f4199944fb8a7d2c8874f91ed1deb7f4c44
tree027ddaaa6765b1e755984e565629780c3d6b6cbc
parent532f44ed674a74edc1ef1aa6fd7fed911413e1ba
objcopy: Avoid shadowing optarg.

In commit 7173b38a442c007a554ea200817a0eadce89c87b I used optarg as the
name for a function parameter, shadowing the global of that name.  This
commit changes the function parameter to be called arg.

binutils/ChangeLog:

* objcopy.c (init_section_add): Rename optarg to arg in order to
avoid shadowing a global variable.
binutils/ChangeLog
binutils/objcopy.c