aboutsummaryrefslogtreecommitdiffstats
path: root/g10/armor.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2017-05-10 02:01:15 +0000
committerNIIBE Yutaka <[email protected]>2017-05-10 02:13:12 +0000
commit0ce94a9698104d9bfc73d5a37478189564c96eb4 (patch)
tree873e5ba87e7aa97e86970d5f1de1daf08f0d2cc5 /g10/armor.c
parentg10: Stop compiler warning for t-stutter. (diff)
downloadgnupg-0ce94a9698104d9bfc73d5a37478189564c96eb4.tar.gz
gnupg-0ce94a9698104d9bfc73d5a37478189564c96eb4.zip
g10, sm, dirmngr, common: Add comment for fall through.
* common/b64dec.c (b64dec_proc): Comment to clarify. * dirmngr/cdblib.c (cdb_make_put): Use same pattern to clarify. * dirmngr/dirmngr-client.c (read_pem_certificate): Likewise. * dirmngr/ks-engine-hkp.c (ks_hkp_get): Likewise. * g10/armor.c (unarmor_pump): Likewise. * g10/gpg.c (main): Likewise. * g10/import.c (read_block): Likewise. * g10/keygen.c (make_backsig): Likewise. * g10/pkclist.c (check_signatures_trust): Likewise. * sm/gpgsm.c (main): Likewise. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'g10/armor.c')
-rw-r--r--g10/armor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/armor.c b/g10/armor.c
index 7fb9a89ee..cc8096862 100644
--- a/g10/armor.c
+++ b/g10/armor.c
@@ -1440,7 +1440,7 @@ unarmor_pump (UnarmorPump x, int c)
break;
case STA_first_dash: /* just need for initialization */
x->pos = 0;
- x->state = STA_compare_header;
+ x->state = STA_compare_header; /* fall through */
case STA_compare_header:
if ( "-----BEGIN PGP SIGNATURE-----"[++x->pos] == c ) {
if ( x->pos == 28 )
@@ -1521,7 +1521,7 @@ unarmor_pump (UnarmorPump x, int c)
/* assume that we are at the next line */
x->state = STA_read_crc;
x->pos = 0;
- x->mycrc = 0;
+ x->mycrc = 0; /* fall through */
case STA_read_crc:
if( (c = asctobin[c]) == 255 ) {
rval = -1; /* ready */