mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-11 16:49:22 +00:00
* Fixed some minor compiler warnings/errors.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1119 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+2
-1
@@ -77,7 +77,8 @@ public:
|
||||
|
||||
static pointer alloc_size(size_type size) {
|
||||
pointer ptr = NULL;
|
||||
posix_memalign((void**)&ptr, LT_SMP_CACHE_BYTES, size);
|
||||
int __UNUSED result = posix_memalign((void**)&ptr, LT_SMP_CACHE_BYTES, size);
|
||||
|
||||
return ptr;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
|
||||
#include <cassert>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
#include <torrent/exceptions.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user