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

This commit is contained in:
Thomas Schmitt 2011-07-03 09:35:30 +00:00
parent 429e13c523
commit 466091f763

View File

@ -1521,7 +1521,7 @@ ex:;
int Xorriso_dialog(struct XorrisO *xorriso, int flag)
{
int ret,first_round, line_size= 2 * SfileadrL;
int ret, line_size= 2 * SfileadrL;
char *line= NULL;
Xorriso_alloc_meM(line, char, line_size);
@ -1531,7 +1531,7 @@ int Xorriso_dialog(struct XorrisO *xorriso, int flag)
if(xorriso->abort_on_is_default)
Xorriso_option_abort_on(xorriso, "NEVER", 0);
xorriso->is_dialog= 1;
for(first_round= 1;1;first_round= 0) {
while(1) {
if(xorriso->pending_option[0]!=0) {
Xorriso_mark(xorriso,0);
strcpy(line,xorriso->pending_option);