Project

General

Profile

Bug #2287

NDNLP: unused variable warning in optimized mode

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

Updated by Junxiao Shi almost 7 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.

#2

Updated by Junxiao Shi almost 7 years ago

  • Status changed from New to In Progress
#3

Updated by Junxiao Shi almost 7 years ago

  • Status changed from In Progress to Code review
#4

Updated by Junxiao Shi almost 7 years ago

  • % Done changed from 0 to 100
#6

Updated by Junxiao Shi almost 7 years ago

  • Status changed from Code review to Closed

Also available in: Atom PDF