summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bio_lib.c
diff options
context:
space:
mode:
authorcheloha <>2022-12-04 23:50:46 +0000
committercheloha <>2022-12-04 23:50:46 +0000
commit58332972c8ed662b36fa575355047d2de8b8f319 (patch)
tree5eb5951f7dde33b16ba81f465c477cccdca9cd8b /src/lib/libcrypto/bio/bio_lib.c
parentb9ebe1afae8c014cb6a2f888ece3171de1fda423 (diff)
downloadopenbsd-58332972c8ed662b36fa575355047d2de8b8f319.tar.gz
openbsd-58332972c8ed662b36fa575355047d2de8b8f319.tar.bz2
openbsd-58332972c8ed662b36fa575355047d2de8b8f319.zip
userspace: remove vestigial '?' cases from top-level getopt(3) loops
getopt(3) returns '?' when it encounters a flag not present in the in the optstring or if a flag is missing its option argument. We can handle this case with the "default" failure case with no loss of legibility. Hence, remove all the redundant "case '?':" lines. Prompted by dlg@. With help from dlg@ and millert@. Link: https://marc.info/?l=openbsd-tech&m=167011979726449&w=2 ok naddy@ millert@ dlg@
Diffstat (limited to 'src/lib/libcrypto/bio/bio_lib.c')
0 files changed, 0 insertions, 0 deletions