mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Remove a bogus bzero() call.
Found by: PVS-Studio
This commit is contained in:
parent
33b5cd539e
commit
bfe2514a08
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295777
@ -80,7 +80,6 @@ acpi_PkgStr(ACPI_OBJECT *res, int idx, void *dst, size_t size)
|
||||
obj = &res->Package.Elements[idx];
|
||||
if (obj == NULL)
|
||||
return (EINVAL);
|
||||
bzero(dst, sizeof(dst));
|
||||
|
||||
switch (obj->Type) {
|
||||
case ACPI_TYPE_STRING:
|
||||
|
Loading…
Reference in New Issue
Block a user