From 443530680da9d6f909088ceb6a5c86178225b84f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 13 Dec 2006 03:13:54 +0000 Subject: Simpler/Faster/Prettier/Saner connection curves. git-svn-id: http://svn.drobilla.net/lad/ingen@220 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/client/Serializer.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/libs') diff --git a/src/libs/client/Serializer.cpp b/src/libs/client/Serializer.cpp index d57f908f..3a417a48 100644 --- a/src/libs/client/Serializer.cpp +++ b/src/libs/client/Serializer.cpp @@ -184,8 +184,6 @@ Serializer::serialize(SharedPtr object) throw (std::logic_error) void Serializer::serialize_patch(SharedPtr patch, unsigned depth) { - assert(_serializer); - RdfId patch_id = path_to_node_id(patch->path()); // anonymous if (patch->path().length() < 2) @@ -241,8 +239,6 @@ Serializer::serialize_plugin(SharedPtr plugin) void Serializer::serialize_node(SharedPtr node, unsigned depth) { - assert(_serializer); - const RdfId node_id = (depth == 0) ? RdfId(RdfId::RESOURCE, string("#") + node->path().substr(1)) : path_to_node_id(node->path()); // anonymous @@ -293,8 +289,6 @@ Serializer::serialize_node(SharedPtr node, unsigned depth) void Serializer::serialize_port(SharedPtr port, unsigned depth) { - assert(_serializer); - const RdfId port_id = (depth == 0) ? RdfId(RdfId::RESOURCE, string("#") + port->path().substr(1)) : path_to_node_id(port->path()); // anonymous @@ -324,8 +318,6 @@ Serializer::serialize_port(SharedPtr port, unsigned depth) void Serializer::serialize_connection(SharedPtr connection) throw (std::logic_error) { - assert(_serializer); - const RdfId connection_id = RdfId(RdfId::ANONYMOUS, path_to_node_id(connection->src_port_path()).to_string() + "-" + path_to_node_id(connection->dst_port_path()).to_string()); -- cgit v1.2.1