mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-20 10:55:28 -05:00
Removed some more compiler warnings from Windows compile (GCC 4.4).
Added -Wextra to the Windows compile. Added new define in libbitdht for snprintf and fprintf to proper handling of "%ll" under Windows. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4951 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
2d2b7230d1
commit
970d88200d
35 changed files with 170 additions and 125 deletions
|
|
@ -161,7 +161,6 @@ void bdStore::addStore(bdPeer *peer)
|
|||
#endif
|
||||
|
||||
/* remove old entry */
|
||||
bool removed = false;
|
||||
|
||||
std::list<bdPeer>::iterator it;
|
||||
for(it = store.begin(); it != store.end(); )
|
||||
|
|
@ -169,7 +168,6 @@ void bdStore::addStore(bdPeer *peer)
|
|||
if ((it->mPeerId.addr.sin_addr.s_addr == peer->mPeerId.addr.sin_addr.s_addr) &&
|
||||
(it->mPeerId.addr.sin_port == peer->mPeerId.addr.sin_port))
|
||||
{
|
||||
removed = true;
|
||||
#ifdef DEBUG_STORE
|
||||
std::cerr << "bdStore::addStore() Removed Existing Entry: ";
|
||||
mFns->bdPrintId(std::cerr, &(it->mPeerId));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue