Revision: 5062 http://tigervnc.svn.sourceforge.net/tigervnc/?rev=5062&view=rev Author: atkac Date: 2013-03-14 15:35:42 +0000 (Thu, 14 Mar 2013) Log Message: ----------- Remove unused parameter from rfb::Configuration::Configuration()
Modified Paths: -------------- trunk/common/rfb/Configuration.cxx trunk/common/rfb/Configuration.h Modified: trunk/common/rfb/Configuration.cxx =================================================================== --- trunk/common/rfb/Configuration.cxx 2013-03-14 13:41:14 UTC (rev 5061) +++ trunk/common/rfb/Configuration.cxx 2013-03-14 15:35:42 UTC (rev 5062) @@ -79,14 +79,6 @@ // -=- Configuration implementation -Configuration::Configuration(const char* name_, Configuration* attachToGroup) -: name(strDup(name_)), head(0), _next(0) { - if (attachToGroup) { - _next = attachToGroup->_next; - attachToGroup->_next = this; - } -} - Configuration& Configuration::operator=(const Configuration& src) { VoidParameter* current = head; while (current) { Modified: trunk/common/rfb/Configuration.h =================================================================== --- trunk/common/rfb/Configuration.h 2013-03-14 13:41:14 UTC (rev 5061) +++ trunk/common/rfb/Configuration.h 2013-03-14 15:35:42 UTC (rev 5062) @@ -57,7 +57,7 @@ class Configuration { public: // - Create a new Configuration object - Configuration(const char* name, Configuration* attachToGroup=0); + Configuration(const char* name_) : name(strDup(name_)), head(0), _next(0) {} // - Return the buffer containing the Configuration's name const char* getName() const { return name.buf; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Tigervnc-commits mailing list Tigervnc-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-commits