diff --git a/backends/libpurple/main.cpp b/backends/libpurple/main.cpp index a20061ec..08e8069e 100644 --- a/backends/libpurple/main.cpp +++ b/backends/libpurple/main.cpp @@ -1440,7 +1440,8 @@ struct Dis { std::string protocol; }; -__attribute__ ((unused)) +// currently unused +#if 0 static gboolean disconnectMe(void *data) { Dis *d = (Dis *) data; PurpleAccount *account = purple_accounts_find_wrapped(d->name.c_str(), d->protocol.c_str()); @@ -1451,6 +1452,7 @@ static gboolean disconnectMe(void *data) { } return FALSE; } +#endif static gboolean pingTimeout(void *data) { np->checkPing(); diff --git a/libtransport/AdminInterface.cpp b/libtransport/AdminInterface.cpp index 4dac99a4..7337cdbc 100644 --- a/libtransport/AdminInterface.cpp +++ b/libtransport/AdminInterface.cpp @@ -41,7 +41,8 @@ namespace Transport { DEFINE_LOGGER(logger, "AdminInterface"); -__attribute__ ((unused)) +// currently unused +#if 0 static std::string getArg(const std::string &body) { std::string ret; if (body.find(" ") == std::string::npos) @@ -49,6 +50,7 @@ static std::string getArg(const std::string &body) { return body.substr(body.find(" ") + 1); } +#endif class StatusCommand : public AdminInterfaceCommand { public: diff --git a/spectrum/src/main.cpp b/spectrum/src/main.cpp index 5da74d1e..1685f5d6 100644 --- a/spectrum/src/main.cpp +++ b/spectrum/src/main.cpp @@ -78,13 +78,15 @@ BOOL spectrum_control_handler( DWORD fdwCtrlType ) { } #endif -__attribute__ ((unused)) +// currently unused +#if 0 static void removeOldIcons(std::string iconDir) { std::vector dirs; dirs.push_back(iconDir); boost::thread thread(boost::bind(Util::removeEverythingOlderThan, dirs, time(NULL) - 3600*24*14)); } +#endif #ifndef WIN32 static void daemonize(const char *cwd, const char *lock_file) {