Skip to content

Commit

Permalink
avoid unused parameter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesm committed Jan 16, 2025
1 parent d74c32f commit 80a30a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/native/entropy_cpu_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ CAMLprim value mc_cpu_rdseed (value buf, value off) {
return Val_bool (ok);
#else
/* ARM: CPU-assisted randomness here. */
(void)buf;
(void)off;
return Val_bool (0);
#endif
}
Expand All @@ -253,6 +255,8 @@ CAMLprim value mc_cpu_rdrand (value buf, value off) {
return Val_bool (ok);
#else
/* ARM: CPU-assisted randomness here. */
(void)buf;
(void)off;
return Val_bool (0);
#endif
}
Expand Down

0 comments on commit 80a30a5

Please sign in to comment.