From 6ca050e5d2125d7ff0c9a7bc9ec51dcfd19594af Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 16 Mar 2018 12:45:09 +0300 Subject: unused code removed --- protocols/Gadu-Gadu/src/libgadu/resolver.cpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'protocols') diff --git a/protocols/Gadu-Gadu/src/libgadu/resolver.cpp b/protocols/Gadu-Gadu/src/libgadu/resolver.cpp index b8972f26d1..52ee0bee52 100644 --- a/protocols/Gadu-Gadu/src/libgadu/resolver.cpp +++ b/protocols/Gadu-Gadu/src/libgadu/resolver.cpp @@ -63,22 +63,6 @@ static void (*gg_global_resolver_cleanup)(void **private_data, int force); #include -/** - * \internal Funkcja pomocnicza zwalniająca zasoby po rozwiązywaniu nazwy - * w wątku. - * - * \param data Wskaźnik na wskaźnik bufora zaalokowanego w wątku - */ -static void gg_gethostbyname_cleaner(void *data) -{ - char **buf_ptr = (char**) data; - - if (buf_ptr != NULL) { - free(*buf_ptr); - *buf_ptr = NULL; - } -} - #endif /* GG_CONFIG_HAVE_PTHREAD */ /** -- cgit v1.2.3