mirror of git://gcc.gnu.org/git/gcc.git
Fix usage of an uninitialized variable
* lto-plugin.c (all_symbols_read_handler): Assign default value to a string variable. From-SVN: r232426
This commit is contained in:
parent
cbb0e83b5a
commit
aea40b0877
|
|
@ -1,3 +1,8 @@
|
||||||
|
2016-01-15 Martin Liska <mliska@suse.cz>
|
||||||
|
|
||||||
|
* lto-plugin.c (all_symbols_read_handler): Assign default
|
||||||
|
value to a string variable.
|
||||||
|
|
||||||
2015-11-25 Jan Hubicka <jh@suse.cz>
|
2015-11-25 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
PR lto/67548
|
PR lto/67548
|
||||||
|
|
|
||||||
|
|
@ -628,7 +628,7 @@ all_symbols_read_handler (void)
|
||||||
unsigned num_lto_args
|
unsigned num_lto_args
|
||||||
= num_claimed_files + num_offload_files + lto_wrapper_num_args + 2;
|
= num_claimed_files + num_offload_files + lto_wrapper_num_args + 2;
|
||||||
char **lto_argv;
|
char **lto_argv;
|
||||||
const char *linker_output_str;
|
const char *linker_output_str = NULL;
|
||||||
const char **lto_arg_ptr;
|
const char **lto_arg_ptr;
|
||||||
if (num_claimed_files + num_offload_files == 0)
|
if (num_claimed_files + num_offload_files == 0)
|
||||||
return LDPS_OK;
|
return LDPS_OK;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue