summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2021-08-17 13:22:15 +0100
committerRobin Watts <Robin.Watts@artifex.com>2021-08-18 12:25:41 +0100
commit8d429cf21cfc54b3114c116f2e478a4113e13a0e (patch)
tree897005a22e58996938c222ad54e23e3b5794e140
parent230b3759457eb4304c19b7f0b17772adf9f2304d (diff)
downloadghostpdl-8d429cf21cfc54b3114c116f2e478a4113e13a0e.tar.gz
Coverity 372501: Add 'fall through' note for switch.
This came from an expanded version of the BEGIN_ARRAY_PARAM/ END_ARRAY_PARAM macros. Interesting that it didn't complain about them in macro form (or maybe someone has marked the macros in coverity already?)
-rw-r--r--base/gdevnup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/gdevnup.c b/base/gdevnup.c
index c57e87239..b8e220adf 100644
--- a/base/gdevnup.c
+++ b/base/gdevnup.c
@@ -298,6 +298,7 @@ param_MediaSize(gs_param_list * plist, gs_param_name pname,
default:
ecode = code;
err: param_signal_error(plist, param_name, ecode);
+ /* fall through */
case 1:
pa->data = 0; /* mark as not filled */
}