Author: pjd Date: Sun Feb 6 14:17:08 2011 New Revision: 218376 URL: http://svn.freebsd.org/changeset/base/218376
Log: Now that we break the loop on fstat(2) failure we no longer need to satisfy gcc's imperfections. MFC after: 1 week Modified: head/sbin/hastd/hastd.c Modified: head/sbin/hastd/hastd.c ============================================================================== --- head/sbin/hastd/hastd.c Sun Feb 6 14:09:19 2011 (r218375) +++ head/sbin/hastd/hastd.c Sun Feb 6 14:17:08 2011 (r218376) @@ -183,8 +183,6 @@ descriptors_assert(const struct hast_res isopen = false; mode = 0; } else { - isopen = true; /* silence gcc */ - mode = 0; /* silence gcc */ (void)snprintf(msg, sizeof(msg), "Unable to fstat descriptor %d: %s", fd, strerror(errno)); _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"