diff options
author | erdgeist <> | 2007-10-19 05:23:04 +0000 |
---|---|---|
committer | erdgeist <> | 2007-10-19 05:23:04 +0000 |
commit | 870c995fbbae0f5f474ec5487b45fc994e615feb (patch) | |
tree | 6150b6b3238a95588f7ae6ef6dbf86a1aa38bd8d /trackerlogic.c | |
parent | cab763d4ee209ff4cf0ee2b44ee7d1158668267c (diff) |
Remove an unused variable
Diffstat (limited to 'trackerlogic.c')
-rw-r--r-- | trackerlogic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trackerlogic.c b/trackerlogic.c index 2cc1ca6..765a845 100644 --- a/trackerlogic.c +++ b/trackerlogic.c | |||
@@ -304,7 +304,7 @@ size_t return_peers_for_torrent( ot_torrent *torrent, size_t amount, char *reply | |||
304 | 304 | ||
305 | /* Release memory we allocated too much */ | 305 | /* Release memory we allocated too much */ |
306 | static void fix_mmapallocation( void *buf, size_t old_alloc, size_t new_alloc ) { | 306 | static void fix_mmapallocation( void *buf, size_t old_alloc, size_t new_alloc ) { |
307 | int res, page_size = getpagesize(); | 307 | int page_size = getpagesize(); |
308 | size_t old_pages = 1 + old_alloc / page_size; | 308 | size_t old_pages = 1 + old_alloc / page_size; |
309 | size_t new_pages = 1 + new_alloc / page_size; | 309 | size_t new_pages = 1 + new_alloc / page_size; |
310 | 310 | ||