mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-04-28 22:03:22 +02:00
add clang-tidy lint comment to avoid false positive
This commit is contained in:
@@ -5322,10 +5322,10 @@ static void _sp_copy(const sp_int* a, sp_int* r)
|
||||
XMEMCPY(r->dp, a->dp, a->used * (word32)SP_WORD_SIZEOF);
|
||||
}
|
||||
/* Set number of used words in result. */
|
||||
r->used = a->used;
|
||||
r->used = a->used;/* // NOLINT(clang-analyzer-core.uninitialized.Assign) */
|
||||
#ifdef WOLFSSL_SP_INT_NEGATIVE
|
||||
/* Set sign of result. */
|
||||
r->sign = a->sign;
|
||||
r->sign = a->sign;/* // NOLINT(clang-analyzer-core.uninitialized.Assign) */
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user