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

master
Thomas Schmitt 12 years ago
parent d41b767ac0
commit d30f7dbec6
  1. 4
      xorriso/parse_exec.c

@ -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);

Loading…
Cancel
Save