diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-16 12:45:09 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-16 12:45:09 +0300 |
commit | 6ca050e5d2125d7ff0c9a7bc9ec51dcfd19594af (patch) | |
tree | b044b32bbc66b7f432f04370f41e1fd403b40eb1 /protocols/Gadu-Gadu | |
parent | 22682a718275e7a5e15f0d1dd129fab8c496168e (diff) |
unused code removed
Diffstat (limited to 'protocols/Gadu-Gadu')
-rw-r--r-- | protocols/Gadu-Gadu/src/libgadu/resolver.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
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 <pthread.h> -/** - * \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 */ /** |