chiark
/
gitweb
/
~mdw
/
dvdrip
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
de4d575
)
dvd-sector-copy.c: Remove the pointless `status' variable.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 6 Mar 2022 00:55:55 +0000
(
00:55
+0000)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/dvd-sector-copy.c
b/dvd-sector-copy.c
index 03d2428998f384f79ce012b288cc6ad677429a1e..e60bbbe3b5257cfe202136a34105f3f6c2b61d32 100644
(file)
--- 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
);
}