mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Remove unused variables.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5032 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
0764675409
commit
afdb462c59
2 changed files with 3 additions and 5 deletions
|
|
@ -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 == ' ') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue