summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2020-02-25 18:59:19 +0100
committerWerner Koch <wk@gnupg.org>2020-02-25 18:59:19 +0100
commit8c185e719860aaa93cc37c0ec91c7bd5e3c2a5ce (patch)
treec479417dc2f2ef0009bd35229456793fd0880bdb /tests
parente9f36cabe157aa046b32dfc0b9f5c175b9808722 (diff)
downloadlibgpg-error-8c185e719860aaa93cc37c0ec91c7bd5e3c2a5ce.tar.gz
core: Improve readability of _gpgrt_argparse.
* src/argparse.c (_gpgrt_argparse): Use enum for the states and replace continue and break. -- The use of continue and break in the endless loop if confusing due to the size of the loop's body and because there are also inner for loops with break. It is better to make things explicit by using goto. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions