diff options
author | 2015-05-07 23:03:23 +0200 | |
---|---|---|
committer | 2015-08-21 17:18:01 +0200 | |
commit | dd6bc465003c0ee9636768a33750535ab349e403 (patch) | |
tree | 03895e77a2bd417f9b5ac3cc6dfc276a507a0c7d | |
parent | 6ad3c8a3ab3fcae856e37e021d99d2d5ebb8efa5 (diff) | |
download | paludis-dd6bc465003c0ee9636768a33750535ab349e403.tar.gz paludis-dd6bc465003c0ee9636768a33750535ab349e403.tar.xz |
Another -Wunused-function
Change-Id: Id14385cfe0429ac5b0657e906ff8ad093d9dc852
Reviewed-on: https://galileo.mailstation.de/gerrit/1890
Retest: Wouter van Kesteren <woutershep@gmail.com>
Reviewed-by: Kylie McClain <somasis@exherbo.org>
Reviewed-by: Bo Ørsted Andresen <zlin@exherbo.org>
-rw-r--r-- | paludis/util/whirlpool_TEST.cc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/paludis/util/whirlpool_TEST.cc b/paludis/util/whirlpool_TEST.cc index aee9bc99a..1f40de098 100644 --- a/paludis/util/whirlpool_TEST.cc +++ b/paludis/util/whirlpool_TEST.cc @@ -26,30 +26,6 @@ using namespace paludis; namespace { - unsigned char dehex_c(unsigned char c) - { - if (c >= '0' && c <= '9') - return c - '0'; - else if (c >= 'a' && c <= 'f') - return c + 10 - 'a'; - else - throw "meh!"; - } - - std::string dehex(const std::string & s) - { - std::string result; - std::string::size_type p(0); - while (p < s.length()) - { - unsigned char c; - c = (dehex_c(s.at(p)) << 4) + dehex_c(s.at(p + 1)); - result.append(1, c); - p += 2; - } - return result; - } - std::string whirlpool(const std::string & data) { std::stringstream ss(data); |