Skip to content

Commit

Permalink
Refs #21082. Fix warning without security.
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <[email protected]>
  • Loading branch information
MiguelCompany committed Jul 5, 2024
1 parent a021411 commit 7eed767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/rtps/builtin/discovery/endpoint/EDP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,8 @@ bool EDP::unpairReaderProxy(
{
if (w.matched_reader_remove(reader_guid))
{
const GUID_t& writer_guid = w.getGuid();
#if HAVE_SECURITY
const GUID_t& writer_guid = w.getGuid();
mp_RTPSParticipant->security_manager().remove_reader(writer_guid,
participant_guid, reader_guid);
#endif // if HAVE_SECURITY
Expand Down

0 comments on commit 7eed767

Please sign in to comment.