diff options
author | drh <> | 2025-01-11 16:28:41 +0000 |
---|---|---|
committer | drh <> | 2025-01-11 16:28:41 +0000 |
commit | 14bc98d8e2a7d07b98bf679b9e586043dd772bf3 (patch) | |
tree | 88bb7b0d0af987ede30d985faca81a5cca22dc49 /ext/misc/base64.c | |
parent | 4b5e8c926ac48d83f70ae9fc1db8a6a9f6b73454 (diff) | |
download | sqlite-14bc98d8e2a7d07b98bf679b9e586043dd772bf3.tar.gz sqlite-14bc98d8e2a7d07b98bf679b9e586043dd772bf3.zip |
Fix harmless "implicit fall through" warnings that suddenly appeared when
I upgraded to gcc-13.
FossilOrigin-Name: 3e2875dac27de1525d9c78f38ac5f1fc12fec7e1b43dbdf47798b128fae49084
Diffstat (limited to 'ext/misc/base64.c')
-rw-r--r-- | ext/misc/base64.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ext/misc/base64.c b/ext/misc/base64.c index bc7a976ab..b8147707f 100644 --- a/ext/misc/base64.c +++ b/ext/misc/base64.c @@ -175,15 +175,15 @@ static u8* fromBase64( char *pIn, int ncIn, u8 *pOut ){ case ND: /* Treat dark non-digits as pad, but they terminate decode too. */ ncIn = 0; - deliberate_fall_through; + deliberate_fall_through; /* FALLTHRU */ case WS: /* Treat whitespace as pad and terminate this group.*/ nti = nac; - deliberate_fall_through; + deliberate_fall_through; /* FALLTHRU */ case PC: bdp = 0; --nbo; - deliberate_fall_through; + deliberate_fall_through; /* FALLTHRU */ default: /* bdp is the digit value. */ qv = qv<<6 | bdp; break; @@ -192,10 +192,13 @@ static u8* fromBase64( char *pIn, int ncIn, u8 *pOut ){ switch( nbo ){ case 3: pOut[2] = (qv) & 0xff; + deliberate_fall_through; /* FALLTHRU */ case 2: pOut[1] = (qv>>8) & 0xff; + deliberate_fall_through; /* FALLTHRU */ case 1: pOut[0] = (qv>>16) & 0xff; + deliberate_fall_through; /* FALLTHRU */ } pOut += nbo; } |