Fix ocaml warning
Warning 20: this argument will not be used by the function.
This commit is contained in:
parent
ccf8fe0dd0
commit
7f9b9db2e0
1 changed files with 1 additions and 1 deletions
|
|
@ -156,4 +156,4 @@ let class_master_list = Hashtbl.create 20
|
|||
let register_class_byname nm co =
|
||||
Hashtbl.replace class_master_list nm (Obj.magic co)
|
||||
let create_class nm arg =
|
||||
try (Obj.magic (Hashtbl.find class_master_list nm)) arg with _ -> raise (NoSuchClass nm)
|
||||
try (Obj.magic (Hashtbl.find class_master_list nm)) with _ -> raise (NoSuchClass nm)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue