Thread (1 message) 1 message, 1 author, 2016-09-19

Re: [PATCH v2 2/2] mailinfo: unescape quoted-pair in header fields

From: Junio C Hamano <hidden>
Date: 2016-09-19 22:04:11

Junio C Hamano [off-list ref] writes:
Kevin Daudt [off-list ref] writes:
quoted
+static void unquote_quoted_string(struct strbuf *line)
+{
+	const char *in = strbuf_detach(line, NULL);
+	int c, take_next_literally = 0;
+	int found_error = 0;
...
quoted
+	}
+}
The additional comment makes it very clear what is going on.

Is it an event unusual enough that is worth warning() about if we
have either take_next_literally or escape_context set to non-NUL
upon leaving the loop, I wonder?

Will queue.  Thanks.
It turns out that found_error is not used anywhere and tripped the
-Werror=unused-variable check.  I've removed that line while
queuing.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help