summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2011-02-06 14:17:08 +0000
committerpjd <pjd@FreeBSD.org>2011-02-06 14:17:08 +0000
commit6ea795f605709c2aee0af99d71adcda46c327157 (patch)
tree0a28c67a78009b96cdedf00fd99268c6fc9e598f
parent9904d3cd8237338ef48091569b19e05da7af9b77 (diff)
downloadFreeBSD-src-6ea795f605709c2aee0af99d71adcda46c327157.zip
FreeBSD-src-6ea795f605709c2aee0af99d71adcda46c327157.tar.gz
Now that we break the loop on fstat(2) failure we no longer need to satisfy
gcc's imperfections. MFC after: 1 week
-rw-r--r--sbin/hastd/hastd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sbin/hastd/hastd.c b/sbin/hastd/hastd.c
index 1183f89..47b16a1 100644
--- a/sbin/hastd/hastd.c
+++ b/sbin/hastd/hastd.c
@@ -183,8 +183,6 @@ descriptors_assert(const struct hast_resource *res, int pjdlogmode)
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));
OpenPOWER on IntegriCloud