aboutsummaryrefslogtreecommitdiff
path: root/sbin/hastd
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/hastd')
-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 1183f8962041..47b16a1a32fb 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));