From 4bdaed5ff442abc37fa01e1960ac4c26f416fb36 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 11 Nov 2001 15:08:48 +0000 Subject: [PATCH] (xwrite): Remove assertion that size_t N >= 0. --- src/tail.c | 1 - 1 file changed, 1 deletion(-) 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")); } -- 2.47.3