Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2016 23:32:12 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r295777 - head/sys/dev/acpica
Message-ID:  <201602182332.u1INWCZc054412@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Thu Feb 18 23:32:11 2016
New Revision: 295777
URL: https://svnweb.freebsd.org/changeset/base/295777

Log:
  Remove a bogus bzero() call.
  
  Found by:	PVS-Studio

Modified:
  head/sys/dev/acpica/acpi_package.c

Modified: head/sys/dev/acpica/acpi_package.c
==============================================================================
--- head/sys/dev/acpica/acpi_package.c	Thu Feb 18 23:03:37 2016	(r295776)
+++ head/sys/dev/acpica/acpi_package.c	Thu Feb 18 23:32:11 2016	(r295777)
@@ -80,7 +80,6 @@ acpi_PkgStr(ACPI_OBJECT *res, int idx, v
     obj = &res->Package.Elements[idx];
     if (obj == NULL)
 	return (EINVAL);
-    bzero(dst, sizeof(dst));
 
     switch (obj->Type) {
     case ACPI_TYPE_STRING:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602182332.u1INWCZc054412>