Project

General

Profile

Actions

Task #4542

closed

In ValidationPolicyCommandInterest, m_innerPolicy is unused

Added by Anonymous almost 7 years ago. Updated almost 7 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 #1

Updated by Davide Pesavento almost 7 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

Actions #2

Updated by Davide Pesavento almost 7 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF