extract-word: replace an use of `goto` with structured code
authorFilipe Brandenburger <filbranden@google.com>
Fri, 6 Nov 2015 05:17:11 +0000 (21:17 -0800)
committerFilipe Brandenburger <filbranden@google.com>
Fri, 6 Nov 2015 05:19:54 +0000 (21:19 -0800)
commit3ff13c298d6d53293680c383768c3054fb9fcc30
treea1547d2fd2da662f6e150896497cd1557ed4368e
parentb85e1c2534ca3b396c2aaa7de384995b42d12e1b
extract-word: replace an use of `goto` with structured code

Using `goto` might be appropriate for the "finish" cases but it was
really not necessary at this point of the code... Just use if/else
blocks to accomplish the same.

Confirmed that the test cases in test-extract-word keep working as
expected.
src/basic/extract-word.c