From: Jim Meyering Date: Sun, 11 Nov 2001 15:08:48 +0000 (+0000) Subject: (xwrite): Remove assertion that size_t N >= 0. X-Git-Tag: TEXTUTILS-2_0_17~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bdaed5ff442abc37fa01e1960ac4c26f416fb36;p=thirdparty%2Fcoreutils.git (xwrite): Remove assertion that size_t N >= 0. --- diff --git a/src/tail.c b/src/tail.c index 50774dffd3..4973ef64bd 100644 --- a/src/tail.c +++ b/src/tail.c @@ -323,7 +323,6 @@ static void xwrite (int fd, char *const buffer, size_t n_bytes) { assert (fd == STDOUT_FILENO); - assert (n_bytes >= 0); if (n_bytes > 0 && fwrite (buffer, 1, n_bytes, stdout) == 0) error (EXIT_FAILURE, errno, _("write error")); }