Reacted on warnings of -Wunused-but-set-variable
This commit is contained in:
parent
11a986d39d
commit
7eaa90c40b
@ -1960,12 +1960,11 @@ ex:;
|
||||
int Xorriso_as_genisofs(struct XorrisO *xorriso, int argc, char **argv,
|
||||
int *idx, int flag)
|
||||
{
|
||||
int end_idx, ret, idx_count, old_idx;
|
||||
int end_idx, ret, old_idx;
|
||||
|
||||
old_idx= *idx;
|
||||
end_idx= Xorriso_end_idx(xorriso, argc, argv, *idx, 1);
|
||||
(*idx)= end_idx;
|
||||
idx_count= end_idx-old_idx;
|
||||
if(end_idx<=0 || old_idx>=argc)
|
||||
return(1);
|
||||
ret= Xorriso_genisofs(xorriso, "genisofs", end_idx-old_idx, argv+old_idx, 0);
|
||||
@ -1976,12 +1975,11 @@ int Xorriso_as_genisofs(struct XorrisO *xorriso, int argc, char **argv,
|
||||
int Xorriso_as_cdrskin(struct XorrisO *xorriso, int argc, char **argv,
|
||||
int *idx, int flag)
|
||||
{
|
||||
int end_idx, ret, idx_count, old_idx;
|
||||
int end_idx, ret, old_idx;
|
||||
|
||||
old_idx= *idx;
|
||||
end_idx= Xorriso_end_idx(xorriso, argc, argv, *idx, 1);
|
||||
(*idx)= end_idx;
|
||||
idx_count= end_idx-old_idx;
|
||||
if(end_idx<=0 || old_idx>=argc)
|
||||
return(1);
|
||||
ret= Xorriso_cdrskin(xorriso, "cdrskin", end_idx-old_idx, argv+old_idx, 0);
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2011.07.03.091220"
|
||||
#define Xorriso_timestamP "2011.07.03.091706"
|
||||
|
Loading…
Reference in New Issue
Block a user