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/pl | |
| 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/pl')
| -rw-r--r-- | src/pl/plpgsql/src/pl_exec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pl/plpgsql/src/pl_exec.c b/src/pl/plpgsql/src/pl_exec.c index e3a588a7ef0..aeb6c8fefc2 100644 --- a/src/pl/plpgsql/src/pl_exec.c +++ b/src/pl/plpgsql/src/pl_exec.c @@ -3186,7 +3186,7 @@ exec_stmt_return(PLpgSQL_execstate *estate, PLpgSQL_stmt_return *stmt) /* fulfill promise if needed, then handle like regular var */ plpgsql_fulfill_promise(estate, (PLpgSQL_var *) retvar); - /* FALLTHROUGH */ + /* FALL THRU */ case PLPGSQL_DTYPE_VAR: { @@ -3332,7 +3332,7 @@ exec_stmt_return_next(PLpgSQL_execstate *estate, /* fulfill promise if needed, then handle like regular var */ plpgsql_fulfill_promise(estate, (PLpgSQL_var *) retvar); - /* FALLTHROUGH */ + /* FALL THRU */ case PLPGSQL_DTYPE_VAR: { @@ -5423,7 +5423,7 @@ exec_eval_datum(PLpgSQL_execstate *estate, /* fulfill promise if needed, then handle like regular var */ plpgsql_fulfill_promise(estate, (PLpgSQL_var *) datum); - /* FALLTHROUGH */ + /* FALL THRU */ case PLPGSQL_DTYPE_VAR: { |
