Project

General

Profile

Actions

Task #4542

closed

In ValidationPolicyCommandInterest, m_innerPolicy is unused

Added by Anonymous over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Low
Category:
Security
Target version:
Start date:
03/08/2018
Due date:
% Done:

100%

Estimated time:

Description

The class ValidationPolicyCommandInterest has a member m_innerPolicy which is unused. (This class uses the inner policy of the ValidationPolicy base class.)
https://github.com/named-data/ndn-cxx/blob/0f8308012b6b56467bbc299257487da1545487c6/src/security/v2/validation-policy-command-interest.hpp#L129

unique_ptr<ValidationPolicy> m_innerPolicy;

This can be removed to improve readability.

Actions

Also available in: Atom PDF