From 729216cb11f263d16bc7322788842234642ab6ab Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Sun, 10 Sep 2000 04:42:20 +0000 Subject: Remove some debugging code --- coreutils/dd.c | 3 +-- dd.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/coreutils/dd.c b/coreutils/dd.c index a7c8a2266..84f3211fb 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 a7c8a2266..84f3211fb 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) -- cgit v1.2.3