From 6f8e75c14fcfbbb2f36877d37e099fcea9406807 Mon Sep 17 00:00:00 2001 From: thunder2 Date: Sun, 13 Jun 2010 15:24:59 +0000 Subject: [PATCH] p3connmgr.cc: fixed compiler warning p3distrib.cc: fixed compiling under windows git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3127 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/pqi/p3connmgr.cc | 1 - libretroshare/src/services/p3distrib.cc | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libretroshare/src/pqi/p3connmgr.cc b/libretroshare/src/pqi/p3connmgr.cc index 5d3f7ba2f..f61040f6a 100644 --- a/libretroshare/src/pqi/p3connmgr.cc +++ b/libretroshare/src/pqi/p3connmgr.cc @@ -2906,7 +2906,6 @@ bool p3ConnectMgr::setLocation(std::string id, std::string location) /* check if it is a friend */ std::map::iterator it; - bool isFriend = false; if (mFriendList.end() == (it = mFriendList.find(id))) { return false; } else { diff --git a/libretroshare/src/services/p3distrib.cc b/libretroshare/src/services/p3distrib.cc index 382de6898..2464fff55 100644 --- a/libretroshare/src/services/p3distrib.cc +++ b/libretroshare/src/services/p3distrib.cc @@ -23,6 +23,10 @@ * */ +#ifdef WINDOWS_SYS +#include "util/rswin.h" +#endif + #include #include #include