From: Arnaud Giersch Date: Wed, 28 Nov 2012 17:18:19 +0000 (+0100) Subject: Remove unused variables. X-Git-Tag: v3_9_rc1~86^2~258 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d693e2620b270cd5a6ca836f5ead1c079be4820e?hp=2816e3ca51171ca2479ae699d682c8e37324cc57 Remove unused variables. --- diff --git a/examples/msg/chainsend/broadcaster.c b/examples/msg/chainsend/broadcaster.c index 7c71ef72c7..c0fe0d85a4 100644 --- a/examples/msg/chainsend/broadcaster.c +++ b/examples/msg/chainsend/broadcaster.c @@ -7,7 +7,6 @@ xbt_dynar_t build_hostlist_from_hostcount(int hostcount) { xbt_dynar_t host_list = xbt_dynar_new(sizeof(char*), NULL); char *hostname = NULL; - msg_host_t h = NULL; int i = 1; for (; i < hostcount+1; i++) { @@ -69,7 +68,6 @@ int broadcaster_send_file(const char *first) { const char *me = MSG_host_get_name(MSG_host_self()); msg_task_t task = NULL; - msg_comm_t comm = NULL; int status; int piece_count = PIECE_COUNT; diff --git a/examples/msg/chainsend/peer.c b/examples/msg/chainsend/peer.c index 2348de5a4a..7711068349 100644 --- a/examples/msg/chainsend/peer.c +++ b/examples/msg/chainsend/peer.c @@ -16,7 +16,6 @@ void peer_init_chain(peer_t peer, message_t msg) void peer_forward_msg(peer_t peer, message_t msg) { - int status; msg_task_t task = task_message_data_new(peer->me, peer->next, NULL, 0); msg_comm_t comm = NULL; XBT_DEBUG("Sending (isend) from %s into mailbox %s", peer->me, peer->next);