Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use CATCH_ANONYMOUS whenever possible, and remove unused variables.
[simgrid.git] / src / gras / Msg / rl_msg.c
index 5d5b48d..37b6fd1 100644 (file)
@@ -117,7 +117,7 @@ void gras_msg_recv(gras_socket_t sock, gras_msg_t msg)
     gras_trp_recv(sock, &c_kind, 1);
     msg->kind = (e_gras_msg_kind_t) c_kind;
   }
-  CATCH(e) {
+  CATCH_ANONYMOUS {
     RETHROWF
         ("Exception caught while trying to get the message header: %s");
   }