summaryrefslogtreecommitdiffstats
path: root/byterun
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2005-01-04 15:39:44 +0000
committerDamien Doligez <damien.doligez-inria.fr>2005-01-04 15:39:44 +0000
commit51ac0f737e4041972d8ae6f53d3ed1f271d02a0d (patch)
treec911ee52beb8e099913b13b95290191117271681 /byterun
parenta3bfddb98fc20e15c5a06997771615df56edb38b (diff)
PR#3406 CAMLreturn manquant
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6741 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun')
-rw-r--r--byterun/obj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/obj.c b/byterun/obj.c
index 83ec42e1a..f92553fc6 100644
--- a/byterun/obj.c
+++ b/byterun/obj.c
@@ -104,7 +104,7 @@ CAMLprim value caml_obj_dup(value arg)
tag_t tg;
sz = Wosize_val(arg);
- if (sz == 0) return arg;
+ if (sz == 0) CAMLreturn arg;
tg = Tag_val(arg);
if (tg >= No_scan_tag) {
res = caml_alloc(sz, tg);