dvd-sector-copy.c: Move `i' to the debug-only variables block.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 18 Feb 2022 18:46:13 +0000 (18:46 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 18 Feb 2022 18:46:13 +0000 (18:46 +0000)
dvd-sector-copy.c

index f29c0d6..6735292 100644 (file)
@@ -531,7 +531,7 @@ static void emit(secaddr start, secaddr end)
 {
 #define BUFSECTORS 512
 
-  int least, i;
+  int least;
   unsigned char buf[BUFSECTORS*SECTORSZ];
   secaddr pos;
   size_t want;
@@ -541,6 +541,7 @@ static void emit(secaddr start, secaddr end)
   struct file *f;
   char fn[MAXFNSZ];
   int act = -1;
+  int i;
 #endif
 
   least = least_live();