diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-12 16:29:23 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-12 16:29:23 +0000 |
commit | 6c6c6ebd082c6d5bcebcb2d811704284bdb34491 (patch) | |
tree | 5472e32e5cc5eae7785d7f4702803729052fa689 /gcc/opts-common.c | |
parent | 0d468767f6a183df7dc8a5027acb0c73e048af5f (diff) | |
download | gcc-6c6c6ebd082c6d5bcebcb2d811704284bdb34491.tar.gz |
2011-04-12 Axel Freyn <axel-freyn@gmx.de>
* opts-common.c (decode_cmdline_options_to_array): Remove variable
argv_copied.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172325 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts-common.c')
-rw-r--r-- | gcc/opts-common.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/opts-common.c b/gcc/opts-common.c index e314cb35213..089d8199d50 100644 --- a/gcc/opts-common.c +++ b/gcc/opts-common.c @@ -693,7 +693,6 @@ decode_cmdline_options_to_array (unsigned int argc, const char **argv, unsigned int n, i; struct cl_decoded_option *opt_array; unsigned int num_decoded_options; - bool argv_copied = false; opt_array = XNEWVEC (struct cl_decoded_option, argc); @@ -728,8 +727,6 @@ decode_cmdline_options_to_array (unsigned int argc, const char **argv, num_decoded_options++; } - if (argv_copied) - free (argv); *decoded_options = opt_array; *decoded_options_count = num_decoded_options; prune_options (decoded_options, decoded_options_count); |