summaryrefslogtreecommitdiff
path: root/otherlibs/unix
diff options
context:
space:
mode:
authorPierre Weis <Pierre.Weis@inria.fr>1998-12-02 10:39:54 +0000
committerPierre Weis <Pierre.Weis@inria.fr>1998-12-02 10:39:54 +0000
commitb83b27899119824923f754caf251f17bc02bae3f (patch)
tree2eaf8cb53c309d057cd1e5f8ccae26411b6d8311 /otherlibs/unix
parentd0abd87e0bee6d1fad4eda5fbfbdeacb496e3bed (diff)
downloadocaml-b83b27899119824923f754caf251f17bc02bae3f.tar.gz
Warning du compilateur.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2210 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/unix')
-rw-r--r--otherlibs/unix/unix.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/unix/unix.ml b/otherlibs/unix/unix.ml
index e9f96e10ea..85919c32b7 100644
--- a/otherlibs/unix/unix.ml
+++ b/otherlibs/unix/unix.ml
@@ -648,6 +648,6 @@ let establish_server server_fun sockaddr =
server_fun inchan outchan;
close_in inchan;
close_out outchan
- | id -> close s; waitpid [] id (* Reclaim the son *); ()
+ | id -> close s; let _ = waitpid [] id (* Reclaim the son *) in ()
done