mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-01-03 15:21:41 +01:00
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.
This commit is contained in:
parent
d025e89ac7
commit
8cf72920e1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue