Date: Sat, 30 Apr 2016 09:31:01 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298841 - head/lib/libkvm Message-ID: <201604300931.u3U9V1CJ054943@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Sat Apr 30 09:31:01 2016 New Revision: 298841 URL: https://svnweb.freebsd.org/changeset/base/298841 Log: Remove a -Wunused-but-set-variable variable -- `pa` Reported by: gcc 5.x Sponsored by: EMC / Isilon Storage Division Modified: head/lib/libkvm/kvm_sparc64.c Modified: head/lib/libkvm/kvm_sparc64.c ============================================================================== --- head/lib/libkvm/kvm_sparc64.c Sat Apr 30 09:21:13 2016 (r298840) +++ head/lib/libkvm/kvm_sparc64.c Sat Apr 30 09:31:01 2016 (r298841) @@ -134,7 +134,6 @@ _sparc64_initvtop(kvm_t *kd) struct sparc64_dump_reg *regs; struct vmstate *vm; size_t regsz; - uint64_t pa; int i; vm = (struct vmstate *)_kvm_malloc(kd, sizeof(*vm)); @@ -151,7 +150,6 @@ _sparc64_initvtop(kvm_t *kd) hdr.dh_tsb_size = be64toh(hdr.dh_tsb_size); hdr.dh_tsb_mask = be64toh(hdr.dh_tsb_mask); hdr.dh_nregions = be32toh(hdr.dh_nregions); - pa = hdr.dh_tsb_pa; regsz = hdr.dh_nregions * sizeof(*regs); regs = _kvm_malloc(kd, regsz);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604300931.u3U9V1CJ054943>