summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-03-30 13:47:57 +0000
committerJim Meyering <jim@meyering.net>2006-03-30 13:47:57 +0000
commit38433b219d2fa8be5e399a6f48d633411dccbb22 (patch)
tree7a819491f1b1534e4c3e6e11fff00c27b0d348e6 /src
parent568eec4a9df920d773d77983194f8a58b5ea62d6 (diff)
downloadcoreutils-38433b219d2fa8be5e399a6f48d633411dccbb22.tar.xz
(iwrite): Remove assignment without effect.
Reported by Felix Rauch Valenti.
Diffstat (limited to 'src')
-rw-r--r--src/dd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dd.c b/src/dd.c
index b8512fbb5..ac959de40 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -761,7 +761,6 @@ iwrite (int fd, char const *buf, size_t size)
a device's end. (Example: Linux 1.2.13 on /dev/fd0.)
Set errno to ENOSPC so they get a sensible diagnostic. */
errno = ENOSPC;
- nwritten = -1;
break;
}
else