diff --git a/sbin/hastd/control.c b/sbin/hastd/control.c index 4d00403924d..57a1c8a67a8 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.