Skip to content

Commit c1b683f

Browse files
add clang-tidy lint comment to avoid false positive
1 parent b34fd2f commit c1b683f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wolfcrypt/src/sp_int.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5322,10 +5322,10 @@ static void _sp_copy(const sp_int* a, sp_int* r)
53225322
XMEMCPY(r->dp, a->dp, a->used * (word32)SP_WORD_SIZEOF);
53235323
}
53245324
/* Set number of used words in result. */
5325-
r->used = a->used;
5325+
r->used = a->used;/* // NOLINT(clang-analyzer-core.uninitialized.Assign) */
53265326
#ifdef WOLFSSL_SP_INT_NEGATIVE
53275327
/* Set sign of result. */
5328-
r->sign = a->sign;
5328+
r->sign = a->sign;/* // NOLINT(clang-analyzer-core.uninitialized.Assign) */
53295329
#endif
53305330
}
53315331

0 commit comments

Comments
 (0)