From c1a3b220af8f3fc74ba00fd0e54670c845950e4b Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Use CAMLreturn0 to avoid a warning. --- libvirt/libvirt_c_epilogue.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libvirt/libvirt_c_epilogue.c b/libvirt/libvirt_c_epilogue.c index efabed0..df1fabb 100644 --- a/libvirt/libvirt_c_epilogue.c +++ b/libvirt/libvirt_c_epilogue.c @@ -80,8 +80,7 @@ _raise_virterror (virConnectPtr conn, const char *fn) caml_raise_with_arg (*caml_named_value ("ocaml_libvirt_virterror"), rv); /*NOTREACHED*/ - /* Suppresses a compiler warning. */ - (void) caml__frame; + CAMLreturn0; } /* Raise an error if a function is not supported. */ @@ -95,8 +94,7 @@ not_supported (const char *fn) caml_raise_with_arg (*caml_named_value ("ocaml_libvirt_not_supported"), fnv); /*NOTREACHED*/ - /* Suppresses a compiler warning. */ - (void) caml__frame; + CAMLreturn0; } /* Convert the virErrorNumber, virErrorDomain and virErrorLevel enums -- 1.8.3.1