This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] objcopy: Avoid shadowing optarg.
- From: sergiodj+buildbot at redhat dot com
- To: gdb-testers at sourceware dot org
- Date: Thu, 26 Feb 2015 19:47:57 -0500
- Subject: [binutils-gdb] objcopy: Avoid shadowing optarg.
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 06b73f4199944fb8a7d2c8874f91ed1deb7f4c44 ***
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 06b73f4199944fb8a7d2c8874f91ed1deb7f4c44
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.