summaryrefslogtreecommitdiff
path: root/sbin/hastd/hastd.c
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2011-02-06 14:17:08 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2011-02-06 14:17:08 +0000
commite84a29b629485e7f7590fac877569319c3e15b25 (patch)
tree0a28c67a78009b96cdedf00fd99268c6fc9e598f /sbin/hastd/hastd.c
parent207ee3cdea04f43cc5523af7c623c56475c5eed1 (diff)
downloadsrc-test2-e84a29b629485e7f7590fac877569319c3e15b25.tar.gz
src-test2-e84a29b629485e7f7590fac877569319c3e15b25.zip
Notes
Diffstat (limited to 'sbin/hastd/hastd.c')
-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));