Skip to content

Commit

Permalink
flambda-backend: Fix unused variable warning in st_stubs.c (ocaml-fla…
Browse files Browse the repository at this point in the history
  • Loading branch information
mshinwell authored Oct 4, 2022
1 parent c84976c commit ff12bbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions otherlibs/systhreads/st_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,9 @@ CAMLprim value caml_thread_new(value clos) /* ML */
CAMLexport int caml_c_thread_register(void)
{
caml_thread_t th;
#ifdef NATIVE_CODE
st_retcode err;
#endif

/* Already registered? */
if (st_tls_get(thread_descriptor_key) != NULL) return 0;
Expand Down

0 comments on commit ff12bbe

Please sign in to comment.