mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48:21 +00:00
clang-format: Set penalty for breaking after assignment operator
This commit is contained in:
parent
4423574d26
commit
9af6b2f48d
54 changed files with 255 additions and 247 deletions
|
@ -890,8 +890,8 @@ double calc_next_rotate(double current, double interval, double base)
|
|||
double startofday = mktime(&t);
|
||||
|
||||
// current < startofday + base + i * interval <= current + interval
|
||||
double delta_t =
|
||||
startofday + base + ceil((current - startofday - base) / interval) * interval - current;
|
||||
double delta_t = startofday + base + ceil((current - startofday - base) / interval) * interval -
|
||||
current;
|
||||
return delta_t > 0.0 ? delta_t : interval;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue