Skip to content

Commit

Permalink
Fixed unused variable preventing compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Oreoezi committed Jan 5, 2024
1 parent 44ab65b commit b2a6b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/topologie/workspace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ json Workspace::handleDeviceAction(uint64_t index, json data) {
if (action == "ping") {
size_t callbackIndex;

auto callbackPingReply = [&retObj, &callbackIndex, dev](const DataLinkLayer& l2, const MACAddress& mac) {
auto callbackPingReply = [&retObj, &callbackIndex, dev](const DataLinkLayer& l2, const MACAddress&) {
if (l2.getL2Type() != DataLinkLayer::IPV4)
return false;

Expand Down

0 comments on commit b2a6b7a

Please sign in to comment.