summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorDiogo Sousa <diogogsousa@gmail.com>2013-06-18 12:07:46 +0100
committerDiogo Sousa <diogogsousa@gmail.com>2013-06-18 12:07:46 +0100
commit8b217981eda423927380e2eda51ee3e43c28ea0d (patch)
tree13b40bf9f5243be7f588025e8946c403d33cde16 /src/common
parent8ce8a359c18578870bcbabdb10feb5902b424105 (diff)
Removed unused argument of make_re().
Diffstat (limited to 'src/common')
-rw-r--r--src/common/url.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/common/url.c b/src/common/url.c
index dabee601..f65d5575 100644
--- a/src/common/url.c
+++ b/src/common/url.c
@@ -363,7 +363,7 @@ do_an_re(const char *word, int *start, int *end, int *type)
 #define OPT_PORT "(" PORT ")?"
 
 GRegex *
-make_re(char *grist, char *type)
+make_re (char *grist)
 {
 	GRegex *ret;
 	GError *err = NULL;
@@ -388,7 +388,7 @@ re_host (void)
 			"(" HOST_URL PORT ")|(" HOST ")"
 		")"
 	);
-	host_ret = make_re (grist, "re_host");
+	host_ret = make_re (grist);
 	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;
 }
@@ -530,7 +530,7 @@ re_url (void)
 
 	grist = g_string_free (grist_gstr, FALSE);
 
-	url_ret = make_re (grist, "re_url");
+	url_ret = make_re (grist);
 
 	return url_ret;
 }
@@ -551,7 +551,7 @@ re_email (void)
 			EMAIL
 		")"
 	);
-	email_ret = make_re (grist, "re_email");
+	email_ret = make_re (grist);
 	return email_ret;
 }
 
@@ -587,7 +587,7 @@ re_nick (void)
 			NICK
 		")"
 	);
-	nick_ret = make_re (grist, "re_nick");
+	nick_ret = make_re (grist);
 	return nick_ret;
 }
 
@@ -607,7 +607,7 @@ re_channel (void)
 			CHANNEL
 		")"
 	);
-	channel_ret = make_re (grist, "re_channel");
+	channel_ret = make_re (grist);
 	return channel_ret;
 }
 
@@ -633,6 +633,6 @@ re_path (void)
 			FS_PATH
 		")"
 	);
-	path_ret = make_re (grist, "re_path");
+	path_ret = make_re (grist);
 	return path_ret;
 }