summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath2000-09-10 04:42:20 +0000
committerGlenn L McGrath2000-09-10 04:42:20 +0000
commit729216cb11f263d16bc7322788842234642ab6ab (patch)
tree74947025bd9a549884067a256c470f56a26ab831
parent18310f1ce3fd2e2fd4ddce6da8ee6867f4196157 (diff)
downloadbusybox-729216cb11f263d16bc7322788842234642ab6ab.zip
busybox-729216cb11f263d16bc7322788842234642ab6ab.tar.gz
Remove some debugging code
-rw-r--r--coreutils/dd.c3
-rw-r--r--dd.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c
index a7c8a22..84f3211 100644
--- a/coreutils/dd.c
+++ b/coreutils/dd.c
@@ -57,7 +57,6 @@ extern int dd_main(int argc, char **argv)
uintmax_t totalSize;
uintmax_t readSize;
unsigned char buf[BUFSIZ];
- off_t jumped;
argc--;
argv++;
@@ -131,7 +130,7 @@ extern int dd_main(int argc, char **argv)
}
lseek(inFd, (off_t) (skipBlocks * blockSize), SEEK_SET);
- jumped = lseek(outFd, (off_t) (seekBlocks * blockSize), SEEK_SET);
+ lseek(outFd, (off_t) (seekBlocks * blockSize), SEEK_SET);
totalSize=count*blockSize;
while ((readSize = totalSize - inTotal) > 0) {
if (readSize > BUFSIZ)
diff --git a/dd.c b/dd.c
index a7c8a22..84f3211 100644
--- a/dd.c
+++ b/dd.c
@@ -57,7 +57,6 @@ extern int dd_main(int argc, char **argv)
uintmax_t totalSize;
uintmax_t readSize;
unsigned char buf[BUFSIZ];
- off_t jumped;
argc--;
argv++;
@@ -131,7 +130,7 @@ extern int dd_main(int argc, char **argv)
}
lseek(inFd, (off_t) (skipBlocks * blockSize), SEEK_SET);
- jumped = lseek(outFd, (off_t) (seekBlocks * blockSize), SEEK_SET);
+ lseek(outFd, (off_t) (seekBlocks * blockSize), SEEK_SET);
totalSize=count*blockSize;
while ((readSize = totalSize - inTotal) > 0) {
if (readSize > BUFSIZ)