diff options
| author | Alvaro Herrera | 2020-05-13 19:31:14 +0000 |
|---|---|---|
| committer | Alvaro Herrera | 2020-05-13 19:31:14 +0000 |
| commit | 17cc133f017cb13737e23ce0da4415daf2c34cc3 (patch) | |
| tree | 45bd1e33f52902f315aa6364fd9fdf1ff152403a /src/interfaces | |
| parent | 81ca8686305c4c62d723ab224ad5c414f350a3a0 (diff) | |
Dial back -Wimplicit-fallthrough to level 3
The additional pain from level 4 is excessive for the gain.
Also revert all the source annotation changes to their original
wordings, to avoid back-patching pain.
Discussion: https://postgr.es/m/31166.1589378554@sss.pgh.pa.us
Diffstat (limited to 'src/interfaces')
| -rw-r--r-- | src/interfaces/ecpg/pgtypeslib/interval.c | 2 | ||||
| -rw-r--r-- | src/interfaces/libpq/fe-secure.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/pgtypeslib/interval.c b/src/interfaces/ecpg/pgtypeslib/interval.c index 9720dfce654..48ba50bbce3 100644 --- a/src/interfaces/ecpg/pgtypeslib/interval.c +++ b/src/interfaces/ecpg/pgtypeslib/interval.c @@ -391,7 +391,7 @@ DecodeInterval(char **field, int *ftype, int nf, /* int range, */ tmask = DTK_M(TZ); break; } - /* FALLTHROUGH */ + /* FALL THROUGH */ case DTK_DATE: case DTK_NUMBER: diff --git a/src/interfaces/libpq/fe-secure.c b/src/interfaces/libpq/fe-secure.c index 062994145b6..b455b45e964 100644 --- a/src/interfaces/libpq/fe-secure.c +++ b/src/interfaces/libpq/fe-secure.c @@ -375,7 +375,7 @@ retry_masked: REMEMBER_EPIPE(spinfo, true); #ifdef ECONNRESET - /* FALLTHROUGH */ + /* FALL THRU */ case ECONNRESET: #endif |
