[gegl] gegl: Remove dead code
- From: Martin Nordholts <martinn src gnome org>
- To: svn-commits-list gnome org
- Subject: [gegl] gegl: Remove dead code
- Date: Mon, 22 Jun 2009 15:12:36 -0400 (EDT)
commit 8aa78e18183ecab71ad87d0c0806878f02a804da
Author: Martin Nordholts <martinn src gnome org>
Date: Mon Jun 22 20:04:51 2009 +0200
gegl: Remove dead code
gegl/graph/gegl-node.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/gegl/graph/gegl-node.c b/gegl/graph/gegl-node.c
index b90e07e..6c7eda0 100644
--- a/gegl/graph/gegl-node.c
+++ b/gegl/graph/gegl-node.c
@@ -418,10 +418,8 @@ gegl_node_add_pad (GeglNode *self,
g_return_if_fail (GEGL_IS_PAD (pad));
if (gegl_node_get_pad (self, gegl_pad_get_name (pad)))
- {
- return;
- }
- if (0) g_assert (!gegl_node_get_pad (self, gegl_pad_get_name (pad)));
+ return;
+
self->pads = g_slist_prepend (self->pads, pad);
if (gegl_pad_is_output (pad))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]