about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2012-01-28 08:38:15 -0600
committerMarco Peereboom <marco@conformal.com>2012-01-28 08:38:15 -0600
commitd771ce008b6ec459b9567c9508a292c98f39c169 (patch)
tree395fb86625e1f4e62872e6cb0fb6838910c6e24f
parent16ca85e850eb8541f2b2cb67a77c49f5d4cdd80a (diff)
downloadxombrero-d771ce008b6ec459b9567c9508a292c98f39c169.tar.gz
remove unused variable
-rw-r--r--xxxterm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xxxterm.c b/xxxterm.c
index 3bf1b0f..5bd1b2d 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -1960,7 +1960,7 @@ remove_cookie_domain(int domain_id)
 int
 remove_cookie_all()
 {
-	int			domain_count, rv = 1;
+	int			rv = 1;
 	GSList			*cf;
 	SoupCookie		*c;
 
@@ -1968,7 +1968,7 @@ remove_cookie_all()
 
 	cf = soup_cookie_jar_all_cookies(s_cookiejar);
 
-	for (domain_count = 0; cf; cf = cf->next) {
+	for (; cf; cf = cf->next) {
 		c = cf->data;
 
 		print_cookie("remove cookie", c);