mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fix clang-tidy modernize-loop-convert findings
This commit is contained in:
parent
49b803c0a8
commit
f3588657bf
56 changed files with 452 additions and 542 deletions
|
@ -17,6 +17,7 @@
|
|||
#include "zeek/RandTest.h"
|
||||
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
|
||||
constexpr double log2of10 = 3.32192809488736234787;
|
||||
|
||||
|
@ -35,9 +36,7 @@ RandTest::RandTest() {
|
|||
inmont = mcount = 0;
|
||||
cexp = montex = montey = montepi = sccu0 = scclast = scct1 = scct2 = scct3 = 0.0;
|
||||
|
||||
for ( int i = 0; i < 256; i++ ) {
|
||||
ccount[i] = 0;
|
||||
}
|
||||
memset(ccount, 0, sizeof(ccount));
|
||||
}
|
||||
|
||||
void RandTest::add(const void* buf, int bufl) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue