summaryrefslogtreecommitdiff
path: root/coreutils/diff.c
diff options
context:
space:
mode:
author"Robert P. J. Day"2006-07-01 14:52:12 +0000
committer"Robert P. J. Day"2006-07-01 14:52:12 +0000
commitedd9ca574327205933f23205d7051f613e46b23b (patch)
treed88d2f2f16e9bbb8bf03943d4d1e9dd4c717b24e /coreutils/diff.c
parent53f21e34a7765c74afab1a8867f4965fb981edb7 (diff)
downloadbusybox-edd9ca574327205933f23205d7051f613e46b23b.zip
busybox-edd9ca574327205933f23205d7051f613e46b23b.tar.gz
More removal of "#if 0" content.
Diffstat (limited to 'coreutils/diff.c')
-rw-r--r--coreutils/diff.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/coreutils/diff.c b/coreutils/diff.c
index 786e2a8..368efd3 100644
--- a/coreutils/diff.c
+++ b/coreutils/diff.c
@@ -720,23 +720,6 @@ static void dump_unified_vec(FILE * f1, FILE * f2)
ch = 'c';
else
ch = (a <= b) ? 'd' : 'a';
-#if 0
- switch (ch) {
- case 'c':
- fetch(ixold, lowa, a - 1, f1, ' ');
- fetch(ixold, a, b, f1, '-');
- fetch(ixnew, c, d, f2, '+');
- break;
- case 'd':
- fetch(ixold, lowa, a - 1, f1, ' ');
- fetch(ixold, a, b, f1, '-');
- break;
- case 'a':
- fetch(ixnew, lowc, c - 1, f2, ' ');
- fetch(ixnew, c, d, f2, '+');
- break;
- }
-#else
if (ch == 'c' || ch == 'd') {
fetch(ixold, lowa, a - 1, f1, ' ');
fetch(ixold, a, b, f1, '-');
@@ -745,7 +728,6 @@ static void dump_unified_vec(FILE * f1, FILE * f2)
fetch(ixnew, lowc, c - 1, f2, ' ');
if (ch == 'c' || ch == 'a')
fetch(ixnew, c, d, f2, '+');
-#endif
lowa = b + 1;
lowc = d + 1;
}