mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-26 03:02:17 -05:00
Removed unused argument of make_re().
This commit is contained in:
parent
8ce8a359c1
commit
8b217981ed
@ -363,7 +363,7 @@ do_an_re(const char *word, int *start, int *end, int *type)
|
|||||||
#define OPT_PORT "(" PORT ")?"
|
#define OPT_PORT "(" PORT ")?"
|
||||||
|
|
||||||
GRegex *
|
GRegex *
|
||||||
make_re(char *grist, char *type)
|
make_re (char *grist)
|
||||||
{
|
{
|
||||||
GRegex *ret;
|
GRegex *ret;
|
||||||
GError *err = NULL;
|
GError *err = NULL;
|
||||||
@ -388,7 +388,7 @@ re_host (void)
|
|||||||
"(" HOST_URL PORT ")|(" HOST ")"
|
"(" HOST_URL PORT ")|(" HOST ")"
|
||||||
")"
|
")"
|
||||||
);
|
);
|
||||||
host_ret = make_re (grist, "re_host");
|
host_ret = make_re (grist);
|
||||||
return host_ret;
|
return host_ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -406,7 +406,7 @@ re_host6 (void)
|
|||||||
")"
|
")"
|
||||||
);
|
);
|
||||||
|
|
||||||
host6_ret = make_re (grist, "re_host6");
|
host6_ret = make_re (grist);
|
||||||
|
|
||||||
return host6_ret;
|
return host6_ret;
|
||||||
}
|
}
|
||||||
@ -530,7 +530,7 @@ re_url (void)
|
|||||||
|
|
||||||
grist = g_string_free (grist_gstr, FALSE);
|
grist = g_string_free (grist_gstr, FALSE);
|
||||||
|
|
||||||
url_ret = make_re (grist, "re_url");
|
url_ret = make_re (grist);
|
||||||
|
|
||||||
return url_ret;
|
return url_ret;
|
||||||
}
|
}
|
||||||
@ -551,7 +551,7 @@ re_email (void)
|
|||||||
EMAIL
|
EMAIL
|
||||||
")"
|
")"
|
||||||
);
|
);
|
||||||
email_ret = make_re (grist, "re_email");
|
email_ret = make_re (grist);
|
||||||
return email_ret;
|
return email_ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -587,7 +587,7 @@ re_nick (void)
|
|||||||
NICK
|
NICK
|
||||||
")"
|
")"
|
||||||
);
|
);
|
||||||
nick_ret = make_re (grist, "re_nick");
|
nick_ret = make_re (grist);
|
||||||
return nick_ret;
|
return nick_ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -607,7 +607,7 @@ re_channel (void)
|
|||||||
CHANNEL
|
CHANNEL
|
||||||
")"
|
")"
|
||||||
);
|
);
|
||||||
channel_ret = make_re (grist, "re_channel");
|
channel_ret = make_re (grist);
|
||||||
return channel_ret;
|
return channel_ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -633,6 +633,6 @@ re_path (void)
|
|||||||
FS_PATH
|
FS_PATH
|
||||||
")"
|
")"
|
||||||
);
|
);
|
||||||
path_ret = make_re (grist, "re_path");
|
path_ret = make_re (grist);
|
||||||
return path_ret;
|
return path_ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user