Skip to content

Commit

Permalink
ua_acl.cc: fix class-memaccess warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz authored and franku committed Nov 5, 2019
1 parent 75d55ee commit aab4c87
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/dird/ua_acl.cc
Expand Up @@ -3,7 +3,7 @@
Copyright (C) 2004-2008 Free Software Foundation Europe e.V.
Copyright (C) 2014-2016 Planets Communications B.V.
Copyright (C) 2014-2016 Bareos GmbH & Co. KG
Copyright (C) 2014-2019 Bareos GmbH & Co. KG
This program is Free Software; you can redistribute it and/or
modify it under the terms of version three of the GNU Affero General Public
Expand Down Expand Up @@ -422,7 +422,6 @@ StorageResource* UaContext::GetStoreResWithId(DBId_t id,
bool lock)
{
StorageDbRecord storage_dbr;
memset(&storage_dbr, 0, sizeof(storage_dbr));

storage_dbr.StorageId = id;
if (db->GetStorageRecord(jcr, &storage_dbr)) {
Expand Down

0 comments on commit aab4c87

Please sign in to comment.