summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util.cc14
-rw-r--r--src/util.h1
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)
{
diff --git a/src/util.h b/src/util.h
index 585166e3..8c4e475c 100644
--- a/src/util.h
+++ b/src/util.h
@@ -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);