Skip to content

Commit

Permalink
//warning: variable 'pkey' set but not used [-Wunused-but-set-variable]
Browse files Browse the repository at this point in the history
  • Loading branch information
f-hoepfinger-hr-agrartechnik committed Jan 27, 2023
1 parent 05ac9de commit 4950456
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/NimBLEClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1175,6 +1175,8 @@ int NimBLEClient::handleGapEvent(struct ble_gap_event *event, void *arg) {
NIMBLE_LOGD(LOG_TAG, "No passkey action required");
}

//warning: variable 'pkey' set but not used [-Wunused-but-set-variable]
assert(pkey.action);
return 0;
} // BLE_GAP_EVENT_PASSKEY_ACTION

Expand Down

0 comments on commit 4950456

Please sign in to comment.