chiark / gitweb /
dvd-sector-copy.c: Remove the pointless `status' variable.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 6 Mar 2022 00:55:55 +0000 (00:55 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 6 Mar 2022 00:55:55 +0000 (00:55 +0000)
Relic of former days when `dvdrip' used the return code to infer that
there were bad blocks.  Nowadays it checks for the `badblocks' file.

dvd-sector-copy.c

index 03d2428998f384f79ce012b288cc6ad677429a1e..e60bbbe3b5257cfe202136a34105f3f6c2b61d32 100644 (file)
@@ -1,7 +1,5 @@
 #include "lib.h"
 
-static int status = 0;
-
 static void usage(FILE *fp)
 {
   fprintf(fp,
@@ -1317,5 +1315,5 @@ int main(int argc, char *argv[])
 #undef f_stats
 #undef f_write
 
-  return (status);
+  return (0);
 }