From 0687d71e40d528c6fec9c58775a84196cfe511ab Mon Sep 17 00:00:00 2001 From: Mikolaj Golub Date: Tue, 5 Jul 2011 06:12:28 +0000 Subject: [PATCH] Remove useless initialization. Approved by: pjd (mentor) MFC after: 3 days --- sbin/hastd/control.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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.