]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(iwrite): Remove assignment without effect.
authorJim Meyering <jim@meyering.net>
Thu, 30 Mar 2006 13:47:57 +0000 (13:47 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 30 Mar 2006 13:47:57 +0000 (13:47 +0000)
Reported by Felix Rauch Valenti.

src/dd.c

index b8512fbb52f1ae1b453779acabf4770fdfd407f8..ac959de40fc8a77541fdac52393e98d1f72313ee 100644 (file)
--- 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