svn commit: r223780 - head/sbin/hastd

Mikolaj Golub trociny at FreeBSD.org
Tue Jul 5 06:12:29 UTC 2011


Author: trociny
Date: Tue Jul  5 06:12:28 2011
New Revision: 223780
URL: http://svn.freebsd.org/changeset/base/223780

Log:
  Remove useless initialization.
  
  Approved by:	pjd (mentor)
  MFC after:	3 days

Modified:
  head/sbin/hastd/control.c

Modified: head/sbin/hastd/control.c
==============================================================================
--- head/sbin/hastd/control.c	Tue Jul  5 02:51:27 2011	(r223779)
+++ head/sbin/hastd/control.c	Tue Jul  5 06:12:28 2011	(r223780)
@@ -155,8 +155,7 @@ control_status_worker(struct hast_resour
 	const char *str;
 	int error;
 
-	cnvin = cnvout = NULL;
-	error = 0;
+	cnvin = NULL;
 
 	/*
 	 * Prepare and send command to worker process.


More information about the svn-src-head mailing list