summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/hastd/control.c')
-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