]> AND Public Git Repository - simgrid.git/blobdiff - examples/s4u/app-bittorrent/s4u_peer.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of github.com:simgrid/simgrid into s_type_cleanup
[simgrid.git] / examples / s4u / app-bittorrent / s4u_peer.cpp
index 79157bc9a5d8b1769b4b2098a495a5783d3c64b9..0b03bdbac807302fbc3d5869017a2825005c00dd 100644 (file)
@@ -18,7 +18,6 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_bt_peer, "Messages specific for the peers");
 #define FILE_PIECES 10UL
 #define PIECES_BLOCKS 5UL
 #define BLOCK_SIZE 16384
-static const unsigned long int FILE_SIZE = FILE_PIECES * PIECES_BLOCKS * BLOCK_SIZE;
 
 /** Number of blocks asked by each request */
 #define BLOCKS_REQUESTED 2