Project

General

Profile

Actions

Bug #2287

closed

NDNLP: unused variable warning in optimized mode

Added by Alex Afanasyev almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Faces
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
0.50 h

Description

The following warning is generated in optimized mode. I guess in debug mode this variable is used for logging.

../daemon/face/ndnlp-slicer.cpp:118:12: warning: unused variable 'pktSize' [-Wunused-variable]
    size_t pktSize = Slicer_encodeFragment(buffer,
           ^
1 warning generated.
Actions #1

Updated by Junxiao Shi almost 10 years ago

  • Subject changed from Unused variable warning in optimized mode to NDNLP: unused variable warning in optimized mode
  • Assignee set to Junxiao Shi
  • Priority changed from Normal to Low
  • Estimated time set to 0.50 h

It's likely only used in assertions.

Actions #2

Updated by Junxiao Shi almost 10 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Junxiao Shi almost 10 years ago

  • Status changed from In Progress to Code review
Actions #4

Updated by Junxiao Shi almost 10 years ago

  • % Done changed from 0 to 100
Actions #6

Updated by Junxiao Shi almost 10 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF