Project

General

Profile

Task #4542

In ValidationPolicyCommandInterest, m_innerPolicy is unused

Added by Jeff Thompson almost 3 years ago. Updated almost 3 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.

#1

Updated by Davide Pesavento almost 3 years ago

  • Category set to Security
  • Status changed from New to Code review
  • Assignee set to Davide Pesavento
  • Target version set to v0.7
  • % Done changed from 0 to 100

Thanks. I've removed the unused field as part of a larger cleanup in that area: https://gerrit.named-data.net/4612

#2

Updated by Davide Pesavento almost 3 years ago

  • Status changed from Code review to Closed

Also available in: Atom PDF