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 /tools | |
parent | fd5021277412ed47e9b4fa344396119c25f47ce6 (diff) | |
download | cups-baa764fab09e72e667dc31c9397094627eda1913.tar.gz |
Remove redundant code
Diffstat (limited to 'tools')
-rw-r--r-- | tools/ippeveps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ippeveps.c b/tools/ippeveps.c index 52e14ee16..cdedc8899 100644 --- a/tools/ippeveps.c +++ b/tools/ippeveps.c @@ -185,7 +185,7 @@ ascii85(const unsigned char *data, /* I - Data to write */ if (length > 0) { // Copy any remainder into the leftdata array... - if ((length - leftcount) > 0) + if (length > leftcount) memcpy(leftdata + leftcount, data, (size_t)(length - leftcount)); memset(leftdata + length, 0, (size_t)(4 - length)); |