From 1e643da216737e148839f463c10594bbb8ac246b Mon Sep 17 00:00:00 2001 From: Aaron Traas Date: Tue, 27 Jun 2017 14:46:49 -0400 Subject: [PATCH] Remove unused code --- misc.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/misc.c b/misc.c index e7a0398..f05e518 100644 --- a/misc.c +++ b/misc.c @@ -41,18 +41,6 @@ void packed_to_token(long packed, char token[6]) } } -void token_to_packed(char token[6], long* packed) -{ - *packed = 0; - for (size_t i = 0; i < 5; ++i) - { - if (token[4 - i] == '\0') - continue; - char mapped = ascii_to_advent[(int) token[4 - i]]; - *packed |= (mapped << (6 * i)); - } -} - /* Hide the fact that wods are corrently packed longs */ bool wordeq(token_t a, token_t b) -- 2.31.1