From owner-svn-src-head@FreeBSD.ORG Thu Jul 31 03:36:04 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 81D36EBE; Thu, 31 Jul 2014 03:36:04 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6FAE92BBB; Thu, 31 Jul 2014 03:36:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s6V3a45X018948; Thu, 31 Jul 2014 03:36:04 GMT (envelope-from kevlo@svn.freebsd.org) Received: (from kevlo@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s6V3a4gr018947; Thu, 31 Jul 2014 03:36:04 GMT (envelope-from kevlo@svn.freebsd.org) Message-Id: <201407310336.s6V3a4gr018947@svn.freebsd.org> From: Kevin Lo Date: Thu, 31 Jul 2014 03:36:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269320 - head/usr.bin/gcore X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2014 03:36:04 -0000 Author: kevlo Date: Thu Jul 31 03:36:03 2014 New Revision: 269320 URL: http://svnweb.freebsd.org/changeset/base/269320 Log: Remove an unsed variable. Modified: head/usr.bin/gcore/elfcore.c Modified: head/usr.bin/gcore/elfcore.c ============================================================================== --- head/usr.bin/gcore/elfcore.c Thu Jul 31 03:34:25 2014 (r269319) +++ head/usr.bin/gcore/elfcore.c Thu Jul 31 03:36:03 2014 (r269320) @@ -618,7 +618,7 @@ elf_note_thrmisc(void *arg, size_t *size static void * procstat_sysctl(void *arg, int what, size_t structsz, size_t *sizep) { - size_t len, oldlen; + size_t len; pid_t pid; int name[4], structsize; void *buf, *p;