Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

- Check if ID is already allocated in SessionIDAllocator::Reserve() #7836

Closed
todo bot opened this issue Jun 23, 2021 · 0 comments
Closed

- Check if ID is already allocated in SessionIDAllocator::Reserve() #7836

todo bot opened this issue Jun 23, 2021 · 0 comments
Assignees
Labels

Comments

@todo
Copy link

todo bot commented Jun 23, 2021

// TODO - Check if ID is already allocated in SessionIDAllocator::Reserve()
return CHIP_NO_ERROR;
}
CHIP_ERROR SessionIDAllocator::ReserveUpTo(uint16_t id)
{
VerifyOrReturnError(id < kMaxSessionID, CHIP_ERROR_NO_MEMORY);
if (id >= mNextAvailable)
{
mNextAvailable = id;


This issue was generated by todo based on a TODO comment in 6c1f43a when #7666 was merged. cc @pan-apple.
@todo todo bot added the todo label Jun 23, 2021
@todo todo bot assigned pan-apple Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants