Skip to content

Commit 983fd25

Browse files
authored
Merge pull request #459 from libtom/pr/copy_or_zeromem
Avoid LTC_ARGCHK in void functions
2 parents 99f9181 + 058a7e2 commit 983fd25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/misc/copy_or_zeromem.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ void copy_or_zeromem(const unsigned char* src, unsigned char* dest, unsigned lon
2929
#endif
3030
unsigned char mask = 0xff; /* initialize mask at all ones */
3131

32-
LTC_ARGCHK(src != NULL);
33-
LTC_ARGCHK(dest != NULL);
32+
LTC_ARGCHKVD(src != NULL);
33+
LTC_ARGCHKVD(dest != NULL);
3434

3535
if (coz != 0) coz = 1;
3636
y = 0;

0 commit comments

Comments
 (0)