Skip to content

Commit 0e43752

Browse files
authored
Mark some C variables as unused (#1541)
from antalsz/unused-c-variables
2 parents 941eb60 + f31a59c commit 0e43752

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/platform/platform_misc.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ value ml_merlin_fs_exact_case_basename(value path)
8080

8181
value ml_merlin_fs_exact_case_basename(value path)
8282
{
83+
(void)path;
8384
return Val_int(0);
8485
}
8586

@@ -187,6 +188,8 @@ value ml_merlin_dont_inherit_stdio(value vstatus)
187188

188189
CAMLprim value ml_merlin_system_command(value v_command, value v_cwd)
189190
{
191+
(void)v_command;
192+
(void)v_cwd;
190193
caml_invalid_argument("ml_merlin_system_command is only available on windows");
191194
}
192195

0 commit comments

Comments
 (0)