From: Mark Wooding Date: Sun, 6 Mar 2022 00:55:55 +0000 (+0000) Subject: dvd-sector-copy.c: Remove the pointless `status' variable. X-Git-Url: https://git.distorted.org.uk/~mdw/dvdrip/commitdiff_plain/8da99a821a98b5e9bc6b9f17f89b51a24f80d9db?hp=de4d575e62f548d90a97b0baed63e586bfd3b21e 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. --- 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); }