From 466091f76381090ae7b3e4824106bbe34c49d60a Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 3 Jul 2011 09:35:30 +0000 Subject: [PATCH] Reacted on warnings of -Wunused-but-set-variable --- libisoburn/trunk/xorriso/parse_exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libisoburn/trunk/xorriso/parse_exec.c b/libisoburn/trunk/xorriso/parse_exec.c index b261add5..b8af3816 100644 --- a/libisoburn/trunk/xorriso/parse_exec.c +++ b/libisoburn/trunk/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);