From d771ce008b6ec459b9567c9508a292c98f39c169 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Sat, 28 Jan 2012 08:38:15 -0600 Subject: remove unused variable --- xxxterm.c | 4 ++-- 1 file 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); -- cgit 1.4.1-2-gfad0