-
Notifications
You must be signed in to change notification settings - Fork 990
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 code with static analyzers #2580
Comments
`void Scheduler::ScheduleFromRemote(FiberInterface* cntx) { // If someone else holds the bit - give up on scheduling by this call.
|
condition is always false |
This comment was marked as outdated.
This comment was marked as outdated.
@BorysTheDev we should integrate it into our codebase and our test runs :) |
OpStatus OpSetId2(const OpArgs& op_args, string_view key, const streamID& sid) { |
size_t node_max_bytes = kStreamNodeMaxBytes; |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
DCHECK(it == blocks_.begin() || it == blocks_.begin() || it->Size() * 2 >= block_size_); duplication check, maybe a bug |
UnsubscribeAll can call conn_state.reset(), so how is it always true? 🤔 |
I think it's a false positive, I haven't dived deep when I analyzed the static analysis results. You can hide the comment and I will know that I was wrong regarding it |
I will add here bugs that I found with static analysis
The text was updated successfully, but these errors were encountered: