From 8da99a821a98b5e9bc6b9f17f89b51a24f80d9db Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 6 Mar 2022 00:55:55 +0000 Subject: [PATCH 1/1] dvd-sector-copy.c: Remove the pointless `status' variable. 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 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dvd-sector-copy.c b/dvd-sector-copy.c index 03d2428..e60bbbe 100644 --- a/dvd-sector-copy.c +++ b/dvd-sector-copy.c @@ -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); } -- 2.11.0