Skip to content

Commit

Permalink
Fix ocaml 4.04 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
petitchevalroux committed Feb 7, 2017
1 parent 65e4790 commit 10a3991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external/ocamlgtk/src/ml_glib.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ static value *lookup_exn_map (GQuark domain)
static void ml_raise_gerror_exn(GError *, value *) Noreturn;
static void ml_raise_gerror_exn(GError *err, value *exn)
{
CAMLlocal2(b, msg);
value b, msg;
g_assert (err && exn);
msg = copy_string(err->message);
b = alloc_small (3, 0);
Expand Down

0 comments on commit 10a3991

Please sign in to comment.