From b4c4f837e521a1391bc55955db21c2895b239102 Mon Sep 17 00:00:00 2001
From: Martin Stjernholm <mast@lysator.liu.se>
Date: Fri, 7 Jul 2000 17:24:38 +0200
Subject: [PATCH] Ease the minds of pedantic compilers.

Rev: src/modules/Parser/html.c:1.92
---
 src/modules/Parser/html.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/modules/Parser/html.c b/src/modules/Parser/html.c
index c2cf863f33..046b203b81 100644
--- a/src/modules/Parser/html.c
+++ b/src/modules/Parser/html.c
@@ -3388,7 +3388,7 @@ static newstate do_try_feed(struct parser_html_storage *this,
 	goto parse_entity;
 
       default: {
-	int quote = ctx - CTX_TAG_QUOTED_ARG;
+	int quote;
 	p_wchar2 end_found;
 
 	DEBUG((stderr,"%*d do_try_feed scan in tag arg\n",
@@ -3399,6 +3399,8 @@ static newstate do_try_feed(struct parser_html_storage *this,
 	  return STATE_WAIT;
 
       continue_in_arg:
+	quote = ctx - CTX_TAG_QUOTED_ARG;
+
 	DEBUG_MARK_SPOT ("do_try_feed at arg val", dst, cdst);
 	if (!(res = scan_forward_arg (this, dst, cdst, &dst, &cdst,
 				      scan_entity ? SCAN_ARG_ENT_BREAK : SCAN_ARG_ONLY,
-- 
GitLab