From 75186be2c2aa5566f3c490e087c24e12c872216e Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 28 Feb 2016 01:38:29 +0100 Subject: libdraw: remove unused static log2[] array --- sys/src/libdraw/arith.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sys/src/libdraw/arith.c') diff --git a/sys/src/libdraw/arith.c b/sys/src/libdraw/arith.c index 893f39ced..93d95d5ac 100644 --- a/sys/src/libdraw/arith.c +++ b/sys/src/libdraw/arith.c @@ -166,12 +166,6 @@ ulong drawld2chan[] = { CMAP8, }; -/* - * was used by libmemlayer/line.c; made static, instead of deleting it, - * to avoid updating many binaries on sources. - */ -static int log2[] = { -1, 0, 1, -1, 2, -1, -1, -1, 3, -1, -1, -1, -1, -1, -1, -1, 4, -1, -1, -1, -1, -1, -1, -1, 4 /* BUG */, -1, -1, -1, -1, -1, -1, -1, 5 }; - ulong setalpha(ulong color, uchar alpha) { -- cgit v1.2.3