From owner-svn-src-all@FreeBSD.ORG Tue Jul 5 06:12:28 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB1A1106564A; Tue, 5 Jul 2011 06:12:28 +0000 (UTC) (envelope-from trociny@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DB0728FC0C; Tue, 5 Jul 2011 06:12:28 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p656CSia051064; Tue, 5 Jul 2011 06:12:28 GMT (envelope-from trociny@svn.freebsd.org) Received: (from trociny@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p656CSZ6051062; Tue, 5 Jul 2011 06:12:28 GMT (envelope-from trociny@svn.freebsd.org) Message-Id: <201107050612.p656CSZ6051062@svn.freebsd.org> From: Mikolaj Golub Date: Tue, 5 Jul 2011 06:12:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r223780 - head/sbin/hastd X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2011 06:12:29 -0000 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.