diff options
author | Alfonso Gregory <83477269+AtariDreams@users.noreply.github.com> | 2021-08-30 12:23:00 -0400 |
---|---|---|
committer | Alfonso Gregory <83477269+AtariDreams@users.noreply.github.com> | 2021-09-07 11:55:17 -0400 |
commit | baa764fab09e72e667dc31c9397094627eda1913 (patch) | |
tree | d24e59172d1a41a568b15dc8716ebab18755df90 /filter | |
parent | fd5021277412ed47e9b4fa344396119c25f47ce6 (diff) | |
download | cups-baa764fab09e72e667dc31c9397094627eda1913.tar.gz |
Remove redundant code
Diffstat (limited to 'filter')
-rw-r--r-- | filter/common.c | 2 | ||||
-rw-r--r-- | filter/rastertohp.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/filter/common.c b/filter/common.c index 672b7c8cd..e0cbcd384 100644 --- a/filter/common.c +++ b/filter/common.c @@ -301,7 +301,7 @@ WriteLabelProlog(const char *label, /* I - Page label */ if ((classification = getenv("CLASSIFICATION")) == NULL) classification = ""; - if (strcmp(classification, "none") == 0) + else if (strcmp(classification, "none") == 0) classification = ""; /* diff --git a/filter/rastertohp.c b/filter/rastertohp.c index 0d76c42a2..5f7fa1ba9 100644 --- a/filter/rastertohp.c +++ b/filter/rastertohp.c @@ -813,8 +813,7 @@ main(int argc, /* I - Number of command-line arguments */ Shutdown(); - if (ppd) - ppdClose(ppd); + ppdClose(ppd); /* * Close the raster stream... |