Reacted on warnings of -Wunused-but-set-variable
This commit is contained in:
@ -125,6 +125,16 @@ int Xorriso_option_list_formats(struct XorrisO *xorriso, int flag)
|
||||
}
|
||||
|
||||
|
||||
/* Option -list_speeds */
|
||||
int Xorriso_option_list_speeds(struct XorrisO *xorriso, int flag)
|
||||
{
|
||||
int ret;
|
||||
|
||||
ret= Xorriso_list_speeds(xorriso, 0);
|
||||
return(ret);
|
||||
}
|
||||
|
||||
|
||||
/* Option -list_profiles */
|
||||
int Xorriso_option_list_profiles(struct XorrisO *xorriso, char *which,
|
||||
int flag)
|
||||
@ -459,7 +469,7 @@ int Xorriso_option_map_l(struct XorrisO *xorriso, int argc, char **argv,
|
||||
int *idx, int flag)
|
||||
{
|
||||
int ret, end_idx, optc= 0, was_failure= 1, i, fret, mode, problem_count;
|
||||
int ns_flag= 2|4, nt_flag= 2, opt_args_flag= 2, made_di_array= 0;
|
||||
int ns_flag= 2|4, nt_flag= 2, opt_args_flag= 2;
|
||||
char *source_prefix= NULL, *target_prefix= NULL, *cmd, **optv= NULL;
|
||||
char *eff_source= NULL, *eff_target= NULL, *source_pt, *s_wd, *t_wd;
|
||||
char **eff_src_array= NULL, **eff_tgt_array= NULL;
|
||||
@ -527,7 +537,6 @@ int Xorriso_option_map_l(struct XorrisO *xorriso, int argc, char **argv,
|
||||
ret= Xorriso_make_di_array(xorriso, 0);
|
||||
if(ret <= 0)
|
||||
goto ex;
|
||||
made_di_array= 1;
|
||||
}
|
||||
|
||||
for(i= 0; i<optc; i++) {
|
||||
|
Reference in New Issue
Block a user