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

Also available in: Atom PDF