summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2013-03-14 15:35:42 +0000
committerAdam Tkac <atkac@redhat.com>2013-03-14 15:35:42 +0000
commit1be0894c20e214f0d40ea64babc2053e77f4f272 (patch)
tree7e38bc21e9243380f2b3a68fc99704336d80d9ef
parentce6feaa3ca460878fd8672f0724eac4b52eaa026 (diff)
downloadtigervnc-1be0894c20e214f0d40ea64babc2053e77f4f272.tar.gz
tigervnc-1be0894c20e214f0d40ea64babc2053e77f4f272.zip
Remove unused parameter from rfb::Configuration::Configuration()
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5062 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r--common/rfb/Configuration.cxx8
-rw-r--r--common/rfb/Configuration.h2
2 files changed, 1 insertions, 9 deletions
diff --git a/common/rfb/Configuration.cxx b/common/rfb/Configuration.cxx
index 87271b66..8ef09446 100644
--- a/common/rfb/Configuration.cxx
+++ b/common/rfb/Configuration.cxx
@@ -79,14 +79,6 @@ Configuration* Configuration::viewer() {
// -=- 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) {
diff --git a/common/rfb/Configuration.h b/common/rfb/Configuration.h
index 35e31fc0..842adc9c 100644
--- a/common/rfb/Configuration.h
+++ b/common/rfb/Configuration.h
@@ -57,7 +57,7 @@ namespace rfb {
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; }