summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authortrociny <trociny@FreeBSD.org>2011-07-05 06:12:28 +0000
committertrociny <trociny@FreeBSD.org>2011-07-05 06:12:28 +0000
commit3628e4b620c60e8668761c26fe1f11c9a2ad06ad (patch)
treec8ca4933de0bd4e742c6b8ee43f9c65d39452db9 /sbin
parenta1a4430906627e22d8af8232fb72573739cfd545 (diff)
downloadFreeBSD-src-3628e4b620c60e8668761c26fe1f11c9a2ad06ad.zip
FreeBSD-src-3628e4b620c60e8668761c26fe1f11c9a2ad06ad.tar.gz
Remove useless initialization.
Approved by: pjd (mentor) MFC after: 3 days
Diffstat (limited to 'sbin')
-rw-r--r--sbin/hastd/control.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/hastd/control.c b/sbin/hastd/control.c
index 4d00403..57a1c8a 100644
--- a/sbin/hastd/control.c
+++ b/sbin/hastd/control.c
@@ -155,8 +155,7 @@ control_status_worker(struct hast_resource *res, struct nv *nvout,
const char *str;
int error;
- cnvin = cnvout = NULL;
- error = 0;
+ cnvin = NULL;
/*
* Prepare and send command to worker process.
OpenPOWER on IntegriCloud