From: Rose <83477269+AtariDreams@users.noreply.github.com> Date: Thu, 17 Nov 2022 17:11:09 +0000 (-0500) Subject: Remove dead workaround code X-Git-Tag: v2.4.3~74^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F545%2Fhead;p=thirdparty%2Fcups.git Remove dead workaround code Clang no longer thinks newlength can be 0 --- diff --git a/scheduler/job.c b/scheduler/job.c index f9e013e86b..331af4ebc7 100644 --- a/scheduler/job.c +++ b/scheduler/job.c @@ -3902,9 +3902,6 @@ get_options(cupsd_job_t *job, /* I - Job */ * Then allocate/reallocate the option buffer as needed... */ - if (newlength == 0) /* This can never happen, but Clang */ - newlength = 1; /* thinks it can... */ - if (newlength > optlength || !options) { if (!options)