Use CAMLnoreturn to avoid compiler warning.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 19 Mar 2008 11:31:06 +0000 (11:31 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 19 Mar 2008 11:31:06 +0000 (11:31 +0000)
libvirt/generator.pl

index 578029b..4fbace6 100755 (executable)
@@ -951,8 +951,7 @@ END
 #ifndef $have_name
   /* Symbol $c_name not found at compile time. */
   not_supported ("$c_name");
 #ifndef $have_name
   /* Symbol $c_name not found at compile time. */
   not_supported ("$c_name");
-  /* Suppresses a compiler warning. */
-  (void) caml__frame;
+  CAMLnoreturn;
 #else
   /* Check that the symbol $c_name
    * is in runtime version of libvirt.
 #else
   /* Check that the symbol $c_name
    * is in runtime version of libvirt.