about summary refs log tree commit diff stats
path: root/whitelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'whitelist.c')
-rw-r--r--whitelist.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/whitelist.c b/whitelist.c
index e834565..8f26e9c 100644
--- a/whitelist.c
+++ b/whitelist.c
@@ -570,9 +570,6 @@ toggle_force_https(struct tab *t, struct karg *args)
 	else if ((args->i & XT_WL_DISABLE) && es != 0)
 		es = 0;
 
-	uri = get_uri(t);
-	dom = find_domain(uri, args->i);
-
 	if (es) {
 		args->i |= !XT_WL_PERSISTENT;
 		wl_add(dom, &force_https, args->i);