svn commit: r250489 - stable/9/usr.sbin/newsyslog

Mark Johnston markj at FreeBSD.org
Sat May 11 00:04:18 UTC 2013


Author: markj
Date: Sat May 11 00:04:17 2013
New Revision: 250489
URL: http://svnweb.freebsd.org/changeset/base/250489

Log:
  Fix the build: 'valid' is no longer used.

Modified:
  stable/9/usr.sbin/newsyslog/newsyslog.c

Modified: stable/9/usr.sbin/newsyslog/newsyslog.c
==============================================================================
--- stable/9/usr.sbin/newsyslog/newsyslog.c	Fri May 10 23:56:34 2013	(r250488)
+++ stable/9/usr.sbin/newsyslog/newsyslog.c	Sat May 11 00:04:17 2013	(r250489)
@@ -1511,7 +1511,7 @@ static void
 delete_oldest_timelog(const struct conf_entry *ent, const char *archive_dir)
 {
 	char *logfname, *s, *dir, errbuf[80];
-	int dirfd, i, logcnt, max_logcnt, valid;
+	int dirfd, i, logcnt, max_logcnt;
 	struct oldlog_entry *oldlogs;
 	struct dirent *dp;
 	const char *cdir;


More information about the svn-src-stable mailing list