A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove unused variable.
[simgrid.git]
/
examples
/
s4u
/
app-bittorrent
/
s4u_peer.cpp
diff --git
a/examples/s4u/app-bittorrent/s4u_peer.cpp
b/examples/s4u/app-bittorrent/s4u_peer.cpp
index
79157bc
..
0b03bdb
100644
(file)
--- a/
examples/s4u/app-bittorrent/s4u_peer.cpp
+++ b/
examples/s4u/app-bittorrent/s4u_peer.cpp
@@
-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