From: Jim Meyering Date: Thu, 30 Mar 2006 13:47:57 +0000 (+0000) Subject: (iwrite): Remove assignment without effect. X-Git-Tag: v6.0~528 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38433b219d2fa8be5e399a6f48d633411dccbb22;p=thirdparty%2Fcoreutils.git (iwrite): Remove assignment without effect. Reported by Felix Rauch Valenti. --- diff --git a/src/dd.c b/src/dd.c index b8512fbb52..ac959de40f 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