Skip to content

Commit d616562

Browse files
committed
Fix compile issue on macOS.
1 parent ef70d83 commit d616562

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

backend/usb-darwin.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1816,7 +1816,6 @@ static CFStringRef copy_printer_interface_indexed_description(printer_interface_
18161816
return CFSTR("");
18171817

18181818
char buffer[(sizeof(description) - 2) / 2];
1819-
UInt8 maxLength = sizeof(buffer) - 1;
18201819
length = (description[0] - 2) / 2;
18211820

18221821
for (UInt8 i = 0; i < length; i++)

0 commit comments

Comments
 (0)