fix: nowarn unexported do_when_vsn_lte/4

This commit is contained in:
Shawn 2023-03-09 20:26:08 +08:00
parent 5402ff7fd8
commit 993a18d508
1 changed files with 1 additions and 0 deletions

View File

@ -124,6 +124,7 @@ maybe_start_schema_registry(_) ->
ok. ok.
-endif. -endif.
-compile([{nowarn_unused_function, [{do_when_vsn_lte, 4}]}]).
do_when_vsn_lte(SrcVsnStr, TargetVsn, ActionName, Action) -> do_when_vsn_lte(SrcVsnStr, TargetVsn, ActionName, Action) ->
try try
case list_to_integer(SrcVsnStr) of case list_to_integer(SrcVsnStr) of