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");
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to