Reacted on warnings of -Wunused-but-set-variable

This commit is contained in:
2011-07-03 19:42:04 +00:00
parent 132777bd31
commit a83286c556
4 changed files with 14 additions and 7 deletions

View File

@ -530,7 +530,7 @@ int Xorriso_option_biblio_file(struct XorrisO *xorriso, char *name, int flag)
int Xorriso_option_blank(struct XorrisO *xorriso, char *mode, int flag)
{
char *cmd= "-blank";
int aq_ret, ret, aq_flag= 2, mode_flag= 0, as_needed= 0, idx;
int aq_ret, ret, mode_flag= 0, as_needed= 0, idx;
off_t size= 0;
if(flag&1)
@ -548,7 +548,6 @@ int Xorriso_option_blank(struct XorrisO *xorriso, char *mode, int flag)
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
return(0);
}
aq_flag= 3;
}
ret= Xorriso_reassure(xorriso, cmd,
"possibly make unreadable data on outdev", 0);