Skip to content
Snippets Groups Projects
Commit 58a16a4d authored by Sebastian Hahn's avatar Sebastian Hahn Committed by Nick Mathewson
Browse files

Add an assert to un-confuse clang's analyzer

The analyzer assumed that bootstrap_percent could be less than 0 when we
call control_event_bootstrap_problem(), which would mean we're calling
log_fn() with undefined values. The assert makes it clear this can't
happen.
parent 532c1369
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment