Message ID | 568CE409.8030907@suse.cz |
---|---|
State | New |
Headers | show |
On 01/06/2016 10:53 AM, Martin Liška wrote: > * lto-plugin.c (all_symbols_read_handler): Assign default > value to a string variable. Better would be to have a noreturn fatal error function to avoid the spurious warning, but this is OK for now. Bernd
diff --git a/lto-plugin/lto-plugin.c b/lto-plugin/lto-plugin.c index 0a6a767..1ed0f08 100644 --- a/lto-plugin/lto-plugin.c +++ b/lto-plugin/lto-plugin.c @@ -628,7 +628,7 @@ all_symbols_read_handler (void) unsigned num_lto_args = num_claimed_files + num_offload_files + lto_wrapper_num_args + 2; char **lto_argv; - const char *linker_output_str; + const char *linker_output_str = NULL; const char **lto_arg_ptr; if (num_claimed_files + num_offload_files == 0) return LDPS_OK;