]> git.notmuchmail.org Git - notmuch/commit
message_file_get_header: Use break where more clear than continue.
authorCarl Worth <cworth@cworth.org>
Wed, 18 Nov 2009 02:37:45 +0000 (18:37 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 18 Nov 2009 02:37:45 +0000 (18:37 -0800)
commit8cf72920e11c950fe7ae76cb762f79506aa8acfe
tree9feef68205f278553acf45271e99275116ecd41d
parentd025e89ac7ccecc9a6bbea5e867fcc15589f81b5
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