Remove .gitignore do nothing is ignored.
[synfig.git] / synfig-core / trunk / src / synfig / valuenode_reference.cpp
index 3566d51..a235f02 100644 (file)
@@ -6,6 +6,7 @@
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+**     Copyright (c) 2008 Chris Moore
 **
 **     This package is free software; you can redistribute it and/or
 **     modify it under the terms of the GNU General Public License as
@@ -90,7 +91,7 @@ ValueNode_Reference::set_link_vfunc(int i,ValueNode::Handle value)
 }
 
 ValueNode::LooseHandle
-ValueNode_Reference::get_link_vfunc(int i)const
+ValueNode_Reference::get_link_vfunc(int i __attribute__ ((unused)))const
 {
        assert(i>=0 && i<link_count());
 
@@ -139,6 +140,9 @@ ValueNode_Reference::get_link_index_from_name(const String &name)const
 ValueBase
 ValueNode_Reference::operator()(Time t)const
 {
+       if (getenv("SYNFIG_DEBUG_VALUENODE_OPERATORS"))
+               printf("%s:%d operator()\n", __FILE__, __LINE__);
+
        return (*link_)(t);
 }