diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-02-24 21:45:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-02-25 19:58:20 +0100 |
| commit | b9828b6220729431a6c294abb72cba76e4e34313 (patch) | |
| tree | 69bc62da53cf71b3a3dc857ce6dc9d37b2f1df18 /src | |
| parent | d990a54912ceb1d33db36ea4b5585c8261ce1bc7 (diff) | |
Remove unused method.
Diffstat (limited to 'src')
| -rw-r--r-- | src/util.cc | 14 | ||||
| -rw-r--r-- | src/util.h | 1 |
2 files changed, 0 insertions, 15 deletions
diff --git a/src/util.cc b/src/util.cc index a920ce0e..01bc8dea 100644 --- a/src/util.cc +++ b/src/util.cc @@ -306,20 +306,6 @@ dcp::private_key_fingerprint (string key) } -xmlpp::Node * -dcp::find_child (xmlpp::Node const * node, string name) -{ - auto c = node->get_children (); - auto i = c.begin(); - while (i != c.end() && (*i)->get_name() != name) { - ++i; - } - - DCP_ASSERT (i != c.end ()); - return *i; -} - - string dcp::remove_urn_uuid (string raw) { @@ -126,7 +126,6 @@ extern void write_string_to_file(std::string const& string, boost::filesystem::p * @return SHA1 fingerprint of key */ extern std::string private_key_fingerprint (std::string key); -extern xmlpp::Node* find_child (xmlpp::Node const * node, std::string name); extern std::string openjpeg_version(); extern std::string spaces (int n); extern void indent (xmlpp::Element* element, int initial); |
