summaryrefslogtreecommitdiff
path: root/sys/src/libdraw
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2016-02-28 01:38:29 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2016-02-28 01:38:29 +0100
commit75186be2c2aa5566f3c490e087c24e12c872216e (patch)
tree2e5513c8b2ff27855353095fd11c5c788b56441f /sys/src/libdraw
parente02b986a801307d05e238c2af42b8a56f213f6ff (diff)
libdraw: remove unused static log2[] array
Diffstat (limited to 'sys/src/libdraw')
-rw-r--r--sys/src/libdraw/arith.c6
1 files changed, 0 insertions, 6 deletions
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)
{