From 8cf72920e11c950fe7ae76cb762f79506aa8acfe Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 17 Nov 2009 18:37:45 -0800 Subject: [PATCH] message_file_get_header: Use break where more clear than continue. Calling continue here worked only because we set a flag before the continue, and, check the flag at the beginning of the loop, and *then* break. It's much more clear to just break in the first place. --- lib/message-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/message-file.c b/lib/message-file.c index 197ab014..3a1a681d 100644 --- a/lib/message-file.c +++ b/lib/message-file.c @@ -282,7 +282,7 @@ notmuch_message_file_get_header (notmuch_message_file_t *message, message->good_headers < 5) { message->parsing_finished = 1; - continue; + break; } NEXT_HEADER_LINE (NULL); continue; -- 2.26.2