X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3ca7ba141fb09d54d776e57603c256e87a908fc9..35471ecdf533b2701ca99d3921c42944531883ce:/src/amok/Bandwidth/bandwidth.c diff --git a/src/amok/Bandwidth/bandwidth.c b/src/amok/Bandwidth/bandwidth.c index 4d23b5c9ac..fc704c6e9d 100644 --- a/src/amok/Bandwidth/bandwidth.c +++ b/src/amok/Bandwidth/bandwidth.c @@ -126,7 +126,7 @@ void amok_bw_test(gras_socket_t peer, /*OUT*/ double *sec, double *bw) { /* Measurement sockets for the experiments */ - gras_socket_t measMasterIn=NULL,measIn,measOut; + gras_socket_t measMasterIn=NULL,measIn,measOut=NULL; int port; bw_request_t request,request_ack; xbt_ex_t e; @@ -212,7 +212,7 @@ void amok_bw_test(gras_socket_t peer, */ int amok_bw_cb_bw_handshake(gras_socket_t expeditor, void *payload) { - gras_socket_t measMasterIn=NULL,measIn,measOut; + gras_socket_t measMasterIn=NULL,measIn=NULL,measOut=NULL; bw_request_t request=*(bw_request_t*)payload; bw_request_t answer; xbt_ex_t e;