summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqarkai <qarkai@gmail.com>2019-11-04 13:34:58 +0300
committerqarkai <qarkai@gmail.com>2019-11-04 13:34:58 +0300
commit6b9bfee8e13d79d8b5474ad1d857efa5e5bb2df6 (patch)
tree407b618612a0859aff64514cf7fcce8b28963103
parent83eb0db6523c5c4a6c2cbf40ce280d1ba8d1a288 (diff)
downloadpidgin-6b9bfee8e13d79d8b5474ad1d857efa5e5bb2df6.tar.gz
Remove redundant preprocessor directives and dead code inside
-rw-r--r--libpurple/protocols/zephyr/zephyr.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/libpurple/protocols/zephyr/zephyr.c b/libpurple/protocols/zephyr/zephyr.c
index 00ca15d6b6..8e86f33526 100644
--- a/libpurple/protocols/zephyr/zephyr.c
+++ b/libpurple/protocols/zephyr/zephyr.c
@@ -1333,25 +1333,9 @@ static gint check_loc(gpointer data)
/* 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);