mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-15 11:43:14 +08:00
appease coverity
This commit is contained in:
parent
17435d366f
commit
d8788bb376
1 changed files with 1 additions and 1 deletions
|
@ -773,7 +773,7 @@ int AutoCorrelate(const int *in, int *out, size_t len, int window, bool SaveGrph
|
||||||
}
|
}
|
||||||
|
|
||||||
int foo = ABS(hi-hi_1);
|
int foo = ABS(hi-hi_1);
|
||||||
int bar = (int)(((hi+hi_1) / 2) * 0.03);
|
int bar = (int)((int)((hi+hi_1) / 2) * 0.03);
|
||||||
if ( verbose && foo < bar ) {
|
if ( verbose && foo < bar ) {
|
||||||
distance = idx_1 - idx;
|
distance = idx_1 - idx;
|
||||||
PrintAndLogEx(SUCCESS, "possible 3% visible correlation %4d samples", distance);
|
PrintAndLogEx(SUCCESS, "possible 3% visible correlation %4d samples", distance);
|
||||||
|
|
Loading…
Reference in a new issue