From: Michael R Sweet Date: Tue, 31 Jan 2023 01:10:01 +0000 (-0500) Subject: Fix compile issue on macOS. X-Git-Tag: v2.4.3~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d616562ffa08c991b4144615a36b62b033b79172;p=thirdparty%2Fcups.git Fix compile issue on macOS. --- diff --git a/backend/usb-darwin.c b/backend/usb-darwin.c index e7e10613b2..a414050828 100644 --- a/backend/usb-darwin.c +++ b/backend/usb-darwin.c @@ -1816,7 +1816,6 @@ static CFStringRef copy_printer_interface_indexed_description(printer_interface_ return CFSTR(""); char buffer[(sizeof(description) - 2) / 2]; - UInt8 maxLength = sizeof(buffer) - 1; length = (description[0] - 2) / 2; for (UInt8 i = 0; i < length; i++)