Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove useless defines.
[simgrid.git] / src / gras / Transport / transport.c
index 79cc64a..ce6a7e5 100644 (file)
@@ -9,7 +9,9 @@
 /***
  *** Options
  ***/
+#ifndef NDEBUG
 static int gras_opt_trp_nomoredata_on_close = 0;
+#endif
 
 #include "xbt/ex.h"
 #include "xbt/peer.h"
@@ -188,7 +190,7 @@ void gras_socket_close(xbt_socket_t sock)
   xbt_socket_t sock_iter = NULL;
   unsigned int cursor;
 
-  XBT_IN("");
+  XBT_IN();
   XBT_VERB("Close %p", sock);
   if (sock == _gras_lastly_selected_socket) {
     xbt_assert(!gras_opt_trp_nomoredata_on_close || !sock->moredata,