Commits

arkdro committed bdf046b

remove unnecessary vars

  • Participants
  • Parent commits 804baeb

Comments (0)

Files changed (1)

     let mbox = Enode.create_mbox node in
     let _ = Enode.register_mbox node mbox name in
     let recvCB = fun msg -> match msg with
-    | Eterm.ET_tuple [|toPid; ref; x;|] when round_trip = true ->
+    | Eterm.ET_tuple [|toPid; ref;|] when round_trip = true ->
       let filler = Eterm.ET_tuple [|Eterm.ET_int (1l);
                                     Eterm.ET_int (2l);
                                     Eterm.ET_int (3l);|] in
       Enode.send
         node
         toPid
-        (Eterm.ET_tuple [| ref; filler; |])
+        (Eterm.ET_tuple [| ref; filler |])
     | Eterm.ET_tuple [|toPid; ref; (Eterm.ET_atom "stop");|] ->
       Trace.dbg "n1 worker" "stop message received\n%!";
       Enode.stop node;