Skip to content

Commit

Permalink
Re-add suppresion
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Sep 7, 2023
1 parent e5c8014 commit 43ea1b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/piscsi/piscsi_response.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void PiscsiResponse::GetDevice(const Device& device, PbDevice& pb_device, const

pb_device.set_allocated_properties(GetDeviceProperties(device).release());

auto status = make_unique<PbDeviceStatus>();
auto status = make_unique<PbDeviceStatus>(); //NOSONAR The allocated memory is managed by protobuf
status->set_protected_(device.IsProtected());
status->set_stopped(device.IsStopped());
status->set_removed(device.IsRemoved());
Expand Down

0 comments on commit 43ea1b6

Please sign in to comment.