Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2009 08:42:44 +0000 (UTC)
From:      "Ralf S. Engelschall" <rse@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r200628 - head/usr.bin/calendar
Message-ID:  <200912170842.nBH8giIe026056@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rse
Date: Thu Dec 17 08:42:44 2009
New Revision: 200628
URL: http://svn.freebsd.org/changeset/base/200628

Log:
  rewind(3) is already declared to return 'void', so no need for an explicit cast

Modified:
  head/usr.bin/calendar/io.c

Modified: head/usr.bin/calendar/io.c
==============================================================================
--- head/usr.bin/calendar/io.c	Thu Dec 17 08:41:06 2009	(r200627)
+++ head/usr.bin/calendar/io.c	Thu Dec 17 08:42:44 2009	(r200628)
@@ -467,7 +467,7 @@ closecal(FILE *fp)
 	if (!doall)
 		return;
 
-	(void)rewind(fp);
+	rewind(fp);
 	if (fstat(fileno(fp), &sbuf) || !sbuf.st_size)
 		goto done;
 	if (pipe(pdes) < 0)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912170842.nBH8giIe026056>