diff options
author | Pierre Ossman <ossman@cendio.se> | 2021-06-11 17:20:02 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2021-06-11 17:20:02 +0200 |
commit | cd6e51f92637ed73bafd47e17481a4b31aa404ed (patch) | |
tree | db847755f1c41f2bc0879afda08a8d6e59f5a35e /common | |
parent | 17aee6306628a4b949afb4aa9cc950507daaf2f6 (diff) | |
download | tigervnc-cd6e51f92637ed73bafd47e17481a4b31aa404ed.tar.gz tigervnc-cd6e51f92637ed73bafd47e17481a4b31aa404ed.zip |
Remove unused LogParameter::setDefault()
Diffstat (limited to 'common')
-rw-r--r-- | common/rfb/LogWriter.cxx | 5 | ||||
-rw-r--r-- | common/rfb/LogWriter.h | 9 |
2 files changed, 0 insertions, 14 deletions
diff --git a/common/rfb/LogWriter.cxx b/common/rfb/LogWriter.cxx index 37a9d1ce..d0eaed6c 100644 --- a/common/rfb/LogWriter.cxx +++ b/common/rfb/LogWriter.cxx @@ -127,8 +127,3 @@ bool LogParameter::setParam(const char* v) { } return true; } - -void LogParameter::setDefault(const char* d) { - def_value = d; - setParam(def_value); -} diff --git a/common/rfb/LogWriter.h b/common/rfb/LogWriter.h index 104a8752..f718d60e 100644 --- a/common/rfb/LogWriter.h +++ b/common/rfb/LogWriter.h @@ -105,15 +105,6 @@ namespace rfb { public: LogParameter(); virtual bool setParam(const char* v); - - // Call this to set a suitable default value. - // Can't use the normal default mechanism for - // this because there is no guarantee on C++ - // constructor ordering - some LogWriters may - // not exist when LogParameter gets constructed. - // NB: The default value must exist for the - // lifetime of the process! - void setDefault(const char* v); }; extern LogParameter logParams; |