diff options
author | Bart Polot <bart@net.in.tum.de> | 2015-10-06 12:07:00 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2015-10-06 12:07:00 +0000 |
commit | 3f68b77a3344a11b518b84f1b73e6c3fd4b1ce33 (patch) | |
tree | 613eb367c5d5b3731ca20455a137f88884ca735e /src/cadet | |
parent | bbbeab39580171d6dffc2832f83829b94c4f331b (diff) | |
download | gnunet-3f68b77a3344a11b518b84f1b73e6c3fd4b1ce33.tar.gz gnunet-3f68b77a3344a11b518b84f1b73e6c3fd4b1ce33.zip |
- remove unused variable
Diffstat (limited to 'src/cadet')
-rw-r--r-- | src/cadet/gnunet-service-cadet_peer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cadet/gnunet-service-cadet_peer.c b/src/cadet/gnunet-service-cadet_peer.c index 540add681..dfeeebd3b 100644 --- a/src/cadet/gnunet-service-cadet_peer.c +++ b/src/cadet/gnunet-service-cadet_peer.c | |||
@@ -1149,8 +1149,6 @@ fill_buf (struct CadetPeerQueue *queue, void *buf, size_t size, uint32_t *pid) | |||
1149 | static int | 1149 | static int |
1150 | should_I_drop (struct CadetPeerQueue *q) | 1150 | should_I_drop (struct CadetPeerQueue *q) |
1151 | { | 1151 | { |
1152 | static int i = 0; | ||
1153 | |||
1154 | if (0 == drop_percent) | 1152 | if (0 == drop_percent) |
1155 | return GNUNET_NO; | 1153 | return GNUNET_NO; |
1156 | 1154 | ||
@@ -1160,6 +1158,7 @@ should_I_drop (struct CadetPeerQueue *q) | |||
1160 | return GNUNET_NO; | 1158 | return GNUNET_NO; |
1161 | } | 1159 | } |
1162 | 1160 | ||
1161 | |||
1163 | /** | 1162 | /** |
1164 | * Core callback to write a queued packet to core buffer | 1163 | * Core callback to write a queued packet to core buffer |
1165 | * | 1164 | * |