diff options
author | Ken Sharp <ken.sharp@artifex.com> | 2016-05-30 09:47:16 +0100 |
---|---|---|
committer | Ken Sharp <ken.sharp@artifex.com> | 2016-05-30 09:47:16 +0100 |
commit | bce0e0b651b2ec2c14b6d28b3da290f48b2b49dd (patch) | |
tree | 10a1598724ec15b901f16252045ea144833d682d /cups | |
parent | a99ac607787704b0171db55846976aa8438b85e7 (diff) | |
download | ghostpdl-bce0e0b651b2ec2c14b6d28b3da290f48b2b49dd.tar.gz |
Coverity IDs 94672, 94998 dead code, unused value
Diffstat (limited to 'cups')
-rw-r--r-- | cups/gdevcups.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cups/gdevcups.c b/cups/gdevcups.c index 6f070c8b2..8a9903608 100644 --- a/cups/gdevcups.c +++ b/cups/gdevcups.c @@ -1316,8 +1316,6 @@ cups_map_cmyk(gx_device *pdev, /* I - Device info */ out[3] = frac_1; else if (c3 == frac_1) out[3] = 0; - else - out[3] = frac_1; } break; @@ -3194,14 +3192,6 @@ cups_put_params(gx_device *pdev, /* I - Device info */ cups->user_icc = param_read_string(plist, "OutputICCProfile", &icc_pro_dummy) == 0; } - /* We set the old dimensions to 1 if we have a color depth change, so - that memory reallocation gets forced. This is perhaps not the correct - approach to prevent crashes like in bug 690435. We keep it for the - time being until we decide finally */ - if (color_set) { - width_old = 1; - height_old = 1; - } /* We also recompute page size and margins if we simply get onto a new page without necessarily having a page size change in the PostScript code, as for some printers margins have to be flipped on the back sides of |