From 16c0afb56cd522378e84974fada01e4add5b748a Mon Sep 17 00:00:00 2001 From: Miciah Dashiel Butler Masters Date: Mon, 14 Nov 2005 08:27:55 +0000 Subject: [PATCH] Drop a superfluous assignment to confirm_submit in ses_goto. --- src/session/task.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/session/task.c b/src/session/task.c index 5ddbb6b08..c72dc6aae 100644 --- a/src/session/task.c +++ b/src/session/task.c @@ -180,10 +180,7 @@ ses_goto(struct session *ses, struct uri *uri, unsigned char *target_frame, malicious_uri = 1; confirm_submit = 1; - } else if (!uri->form) { - confirm_submit = 0; - - } else { + } else if (uri->form) { struct cache_entry *cached; /* First check if the referring URI was incomplete. It