From f8361f19e6860791463b1d10415987a67088e4e5 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 4 Nov 2016 21:06:55 +1030 Subject: [PATCH] tools: set, don't increment bool. Not really a bug, but stylistically questionable and makes PCS Suite complain. Reported-by: Jon Griffiths Signed-off-by: Rusty Russell --- tools/doc_extract-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/doc_extract-core.c b/tools/doc_extract-core.c index 069bf223..0d6af317 100644 --- a/tools/doc_extract-core.c +++ b/tools/doc_extract-core.c @@ -46,7 +46,7 @@ static char **grab_doc(char **lines, unsigned int **linemap, warnx("%s:%u:" " Expected ' *' in comment.", file, i+1); - warned++; + warned = true; } ret[num++] = tal_strdup(ret, lines[i]); if (strstr(lines[i], "*/")) -- 2.39.2