From: degomme Date: Tue, 11 Jun 2013 00:03:22 +0000 (+0200) Subject: remove warning X-Git-Tag: v3_9_90~292 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d1d1f625ff0e84b1b1e2c267dc0078f97da80315 remove warning --- diff --git a/examples/msg/bittorrent/peer.c b/examples/msg/bittorrent/peer.c index 337db69b2a..fc3e27fe66 100644 --- a/examples/msg/bittorrent/peer.c +++ b/examples/msg/bittorrent/peer.c @@ -658,7 +658,7 @@ void update_choked_peers(peer_t peer) xbt_dict_size(peer->active_peers)); //update the current round peer->round = (peer->round + 1) % 3; - char *key, *key_choked; + char *key, *key_choked=NULL; connection_t peer_choosed = NULL; connection_t peer_choked = NULL; //remove a peer from the list