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));