pidgin/pidgin

Remove redundant returns

2019-11-04, qarkai
00bfb6134525
Parents fba68437a08a
Children d167361831ba
Remove redundant returns
--- a/finch/gntblist.c Mon Nov 04 13:37:27 2019 +0300
+++ b/finch/gntblist.c Mon Nov 04 13:38:48 2019 +0300
@@ -2066,8 +2066,6 @@
PURPLE_SIGNAL_PRIORITY_HIGHEST);
finch_blist_install_manager(&default_manager);
-
- return;
}
static gboolean
--- a/finch/plugins/gntclipboard.c Mon Nov 04 13:37:27 2019 +0300
+++ b/finch/plugins/gntclipboard.c Mon Nov 04 13:38:48 2019 +0300
@@ -90,7 +90,6 @@
return;
}
}
- return;
}
static void
--- a/libpurple/protocols/bonjour/bonjour_ft.c Mon Nov 04 13:37:27 2019 +0300
+++ b/libpurple/protocols/bonjour/bonjour_ft.c Mon Nov 04 13:38:48 2019 +0300
@@ -877,7 +877,6 @@
default:
break;
}
- return;
}
static void
@@ -943,8 +942,6 @@
bonjour_bytestreams_listen, xfer);
if (xf->listen_data == NULL)
purple_xfer_cancel_local(xfer);
-
- return;
}
static void
--- a/libpurple/protocols/irc/cmds.c Mon Nov 04 13:37:27 2019 +0300
+++ b/libpurple/protocols/irc/cmds.c Mon Nov 04 13:38:48 2019 +0300
@@ -694,6 +694,4 @@
irc_send(irc, buf);
g_free(buf);
}
-
- return;
}
--- a/libpurple/protocols/irc/msgs.c Mon Nov 04 13:37:27 2019 +0300
+++ b/libpurple/protocols/irc/msgs.c Mon Nov 04 13:38:48 2019 +0300
@@ -333,8 +333,6 @@
purple_conversation_write_system_message(PURPLE_CONVERSATION(chat), buf, 0);
g_free(escaped);
g_free(buf);
-
- return;
}
void irc_msg_whois(struct irc_conn *irc, const char *name, const char *from, char **args)
@@ -1010,7 +1008,6 @@
}
g_free(nick);
- return;
}
void irc_msg_mode(struct irc_conn *irc, const char *name, const char *from, char **args)
@@ -1362,8 +1359,6 @@
irc_buddy_status(data[0], ib, irc);
}
g_free(data[0]);
-
- return;
}
void irc_msg_unavailable(struct irc_conn *irc, const char *name, const char *from, char **args)
--- a/libpurple/protocols/jabber/google/gmail.c Mon Nov 04 13:37:27 2019 +0300
+++ b/libpurple/protocols/jabber/google/gmail.c Mon Nov 04 13:38:48 2019 +0300
@@ -176,7 +176,6 @@
purple_xmlnode_set_attrib(query, "newer-than-tid", js->gmail_last_tid);
jabber_iq_send(iq);
- return;
}
void jabber_gmail_init(JabberStream *js) {
--- a/libpurple/protocols/simple/simple.c Mon Nov 04 13:37:27 2019 +0300
+++ b/libpurple/protocols/simple/simple.c Mon Nov 04 13:38:48 2019 +0300
@@ -117,7 +117,6 @@
purple_debug_error("simple", "failed sending keep alive\n");
}
}
- return;
}
static gboolean process_register_response(struct simple_account_data *sip, struct sipmsg *msg, struct transaction *tc);
--- a/libpurple/protocols/zephyr/Zinternal.c Mon Nov 04 13:37:27 2019 +0300
+++ b/libpurple/protocols/zephyr/Zinternal.c Mon Nov 04 13:38:48 2019 +0300
@@ -850,7 +850,6 @@
qptr->prev->next = qptr->next;
qptr->next->prev = qptr->prev;
free ((char *)qptr);
- return;
}
Code_t Z_SendFragmentedNotice(notice, len, cert_func, send_func)
--- a/libpurple/protocols/zephyr/zephyr.c Mon Nov 04 13:37:27 2019 +0300
+++ b/libpurple/protocols/zephyr/zephyr.c Mon Nov 04 13:38:48 2019 +0300
@@ -1400,8 +1400,6 @@
}
g_strlcpy(zephyr->ourhostcanon, hent->h_name, sizeof(zephyr->ourhostcanon));
-
- return;
}
static void process_zsubs(zephyr_account *zephyr)
@@ -2582,7 +2580,6 @@
topic_utf8 = zephyr_recv_convert(gc,(gchar *)topic);
purple_chat_conversation_set_topic(gcc,sender,topic_utf8);
g_free(topic_utf8);
- return;
}
/* commands */
--- a/pidgin/gtknotify.c Mon Nov 04 13:37:27 2019 +0300
+++ b/pidgin/gtknotify.c Mon Nov 04 13:38:48 2019 +0300
@@ -1555,8 +1555,6 @@
g_object_unref(icon);
gtk_widget_show_all(pounce_dialog->dialog);
-
- return;
}
static PidginNotifyDialog *
--- a/pidgin/plugins/spellchk.c Mon Nov 04 13:37:27 2019 +0300
+++ b/pidgin/plugins/spellchk.c Mon Nov 04 13:38:48 2019 +0300
@@ -677,7 +677,6 @@
g_signal_connect(G_OBJECT(gtkconv->entry), "message_send",
G_CALLBACK(message_send_cb), spell);
- return;
}
static int buf_get_line(char *ibuf, char **buf, gsize *position, gsize len)