pidgin/pidgin

Parents 9b64a2d80f8c
Children fba68437a08a
Remove redundant preprocessor directives and dead code inside
--- a/libpurple/protocols/zephyr/zephyr.c Mon Nov 04 13:28:18 2019 +0300
+++ b/libpurple/protocols/zephyr/zephyr.c Mon Nov 04 13:34:58 2019 +0300
@@ -1333,25 +1333,9 @@
/* XXX add real error reporting */
/* doesn't matter if this fails or not; we'll just move on to the next one */
if (use_zeph02(zephyr)) {
-#ifdef WIN32
- int numlocs;
- int one=1;
- ZLocateUser(chk,&numlocs,ZAUTH);
- if (numlocs) {
- int i;
- for(i=0;i<numlocs;i++) {
- ZGetLocations(&locations,&one);
- if (nlocs>0)
- purple_protocol_got_user_status(account,name,"available",NULL);
- else
- purple_protocol_got_user_status(account,name,"offline",NULL);
- }
- }
-#else
ZRequestLocations(chk, &ald, UNACKED, ZAUTH);
g_free(ald.user);
g_free(ald.version);
-#endif /* WIN32 */
} else
if (use_tzc(zephyr)) {
gchar *zlocstr = g_strdup_printf("((tzcfodder . zlocate) \"%s\")\n",chk);