bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] 5.2.1: prevent compiler warning


From: Tim Waugh
Subject: [patch] 5.2.1: prevent compiler warning
Date: Mon, 18 Oct 2004 13:44:07 +0100
User-agent: Mutt/1.4.1i

The fold_text() function doesn't ever return anything and its return
code is never checked.

Original bug report:
  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=136090

--- coreutils-5.2.1/src/fold.c.void     2004-10-18 13:42:18.119712001 +0100
+++ coreutils-5.2.1/src/fold.c  2004-10-18 13:42:28.346757280 +0100
@@ -157,7 +157,7 @@
   return column;
 }
 
-static int
+static void
 fold_text (FILE *istream, int width, int *saved_errno)
 {
   register int c;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]