svn commit: r228544 - head/sbin/hastd
Pawel Jakub Dawidek
pjd at FreeBSD.org
Thu Dec 15 22:05:24 UTC 2011
Author: pjd
Date: Thu Dec 15 22:05:23 2011
New Revision: 228544
URL: http://svn.freebsd.org/changeset/base/228544
Log:
Remove redundant assignment.
Found by: Clang Static Analyzer
MFC after: 1 week
Modified:
head/sbin/hastd/secondary.c
Modified: head/sbin/hastd/secondary.c
==============================================================================
--- head/sbin/hastd/secondary.c Thu Dec 15 22:03:17 2011 (r228543)
+++ head/sbin/hastd/secondary.c Thu Dec 15 22:05:23 2011 (r228544)
@@ -199,8 +199,6 @@ init_remote(struct hast_resource *res, s
pjdlog_errno(LOG_WARNING, "Unable to set connection direction");
#endif
- map = NULL;
- mapsize = 0;
nvout = nv_alloc();
nv_add_int64(nvout, (int64_t)res->hr_datasize, "datasize");
nv_add_int32(nvout, (int32_t)res->hr_extentsize, "extentsize");
More information about the svn-src-head
mailing list