git.annexia.org
/
ocaml-libvirt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1a3b22
)
Revert previous change.
author
Richard W.M. Jones
<rjones@redhat.com>
Fri, 29 Aug 2008 16:39:44 +0000
(17:39 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Fri, 29 Aug 2008 16:39:44 +0000
(17:39 +0100)
libvirt/libvirt_c_epilogue.c
patch
|
blob
|
history
diff --git
a/libvirt/libvirt_c_epilogue.c
b/libvirt/libvirt_c_epilogue.c
index
df1fabb
..
efabed0
100644
(file)
--- a/
libvirt/libvirt_c_epilogue.c
+++ b/
libvirt/libvirt_c_epilogue.c
@@
-80,7
+80,8
@@
_raise_virterror (virConnectPtr conn, const char *fn)
caml_raise_with_arg (*caml_named_value ("ocaml_libvirt_virterror"), rv);
/*NOTREACHED*/
- CAMLreturn0;
+ /* Suppresses a compiler warning. */
+ (void) caml__frame;
}
/* Raise an error if a function is not supported. */
@@
-94,7
+95,8
@@
not_supported (const char *fn)
caml_raise_with_arg (*caml_named_value ("ocaml_libvirt_not_supported"), fnv);
/*NOTREACHED*/
- CAMLreturn0;
+ /* Suppresses a compiler warning. */
+ (void) caml__frame;
}
/* Convert the virErrorNumber, virErrorDomain and virErrorLevel enums