diff options
author | lloyd <[email protected]> | 2008-04-07 01:14:53 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-04-07 01:14:53 +0000 |
commit | d4121aee5eeab8328bb6a59ba0c2f16e2d3a72fa (patch) | |
tree | 9ecb155935a896cc33beb9241f07d3a81c9986e9 | |
parent | ac81da89ac0dca6a4d4cc6cf12de29bf66709e57 (diff) |
Library_State::set_timer is never called from within Botan, low hanging
fruit for removal.
-rw-r--r-- | include/libstate.h | 1 | ||||
-rw-r--r-- | src/libstate.cpp | 9 |
2 files changed, 0 insertions, 10 deletions
diff --git a/include/libstate.h b/include/libstate.h index 49f1c1b0f..312d68873 100644 --- a/include/libstate.h +++ b/include/libstate.h @@ -55,7 +55,6 @@ class Library_State void add_entropy(EntropySource&, bool); u32bit seed_prng(bool, u32bit); - void set_timer(class Timer*); u64bit system_clock() const; class Config& config() const; diff --git a/src/libstate.cpp b/src/libstate.cpp index 7a742b468..12f017ed4 100644 --- a/src/libstate.cpp +++ b/src/libstate.cpp @@ -123,15 +123,6 @@ void Library_State::set_default_allocator(const std::string& type) const } /************************************************* -* Set the high resolution clock implementation * -*************************************************/ -void Library_State::set_timer(Timer* new_timer) - { - delete timer; - timer = new_timer; - } - -/************************************************* * Read a high resolution clock * *************************************************/ u64bit Library_State::system_clock() const |