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

master
Thomas Schmitt 12 years ago
parent fa31cb0df7
commit 038b2023d8
  1. 6
      xorriso/emulators.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -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…
Cancel
Save