summaryrefslogtreecommitdiff
path: root/src/irc/core/netsplit.c
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@irssi.org>2009-03-01 00:22:29 +0000
committerjilles <jilles@dbcabf3a-b0e7-0310-adc4-f8d773084564>2009-03-01 00:22:29 +0000
commitafdb462c5922407a490894834c65ce792d9dcc8a (patch)
tree810413ffba191a7e350100260b61eccd7dc67c23 /src/irc/core/netsplit.c
parent0764675409e9aeb665b2f35a29dcba7cd81a3654 (diff)
downloadirssi-afdb462c5922407a490894834c65ce792d9dcc8a.zip
Remove unused variables.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5032 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/netsplit.c')
-rw-r--r--src/irc/core/netsplit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/core/netsplit.c b/src/irc/core/netsplit.c
index 269d2556..706212ee 100644
--- a/src/irc/core/netsplit.c
+++ b/src/irc/core/netsplit.c
@@ -221,7 +221,7 @@ NETSPLIT_CHAN_REC *netsplit_find_channel(IRC_SERVER_REC *server,
/* check if quit message is a netsplit message */
int quitmsg_is_split(const char *msg)
{
- const char *host1, *host2, *p;
+ const char *host2, *p;
int prev, len, host1_dot, host2_dot;
g_return_val_if_fail(msg != NULL, FALSE);
@@ -241,7 +241,7 @@ int quitmsg_is_split(const char *msg)
- the two hosts can't be identical (probably useless check)
- can't contain ':' or '/' chars (some servers allow URLs)
*/
- host1 = msg; host2 = NULL;
+ host2 = NULL;
prev = '\0'; len = 0; host1_dot = host2_dot = 0;
while (*msg != '\0') {
if (*msg == ' ') {