From d1d1f625ff0e84b1b1e2c267dc0078f97da80315 Mon Sep 17 00:00:00 2001 From: degomme Date: Tue, 11 Jun 2013 02:03:22 +0200 Subject: [PATCH] remove warning --- examples/msg/bittorrent/peer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1