Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make example compile with enable_warnings=ON.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 4 Jul 2012 12:34:27 +0000 (14:34 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 4 Jul 2012 12:34:27 +0000 (14:34 +0200)
commit3d84113e2eb8d578a6838d21f84f55d9e77c65d4
tree62c29091951b6e20d5ade19b8b8d4330de8c5981
parent0868c23f9325ad81241a6e1df80e804d7f4067b7
Make example compile with enable_warnings=ON.

Main changes are:
* remove unused variables.
* use unsigned int for the index in xbt_dynar_foreach.
examples/msg/bittorrent/bittorrent.c
examples/msg/bittorrent/bittorrent.h
examples/msg/bittorrent/peer.c
examples/msg/bittorrent/tracker.c