diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-01-04 14:14:35 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-01-04 14:14:58 +0000 |
commit | 7795f0f1f8700651d2a79f979a5d40885569dd11 (patch) | |
tree | c35ff0edd79a34e46350db4b34d7766099e72f60 /base/gspaint.c | |
parent | 998c8bf7a2e409b6c4c29b8e535028a24404e7c5 (diff) | |
download | ghostpdl-7795f0f1f8700651d2a79f979a5d40885569dd11.tar.gz |
Squash warnings: ICC code.
Various bits of the ICC code collects return values only to not
check them. Fix that here.
In some cases this is because functions have a 'void' return type
so there isn't a way to return an error. Change those return types
and ensure that all callers check and propogate the errors.
Diffstat (limited to 'base/gspaint.c')
-rw-r--r-- | base/gspaint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gspaint.c b/base/gspaint.c index 1835168c6..cb193960f 100644 --- a/base/gspaint.c +++ b/base/gspaint.c @@ -103,7 +103,7 @@ gs_fillpage(gs_state * pgs) if (dev->icc_struct != NULL && dev->icc_struct->graydetection && !dev->icc_struct->pageneutralcolor) { dev->icc_struct->pageneutralcolor = true; /* start detecting again */ - gsicc_mcm_begin_monitor(pgs->icc_link_cache, dev); + code = gsicc_mcm_begin_monitor(pgs->icc_link_cache, dev); } if (code < 0) return code; |