aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/parameters.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer/parameters.cxx')
-rw-r--r--vncviewer/parameters.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vncviewer/parameters.cxx b/vncviewer/parameters.cxx
index 0912b461..173406d5 100644
--- a/vncviewer/parameters.cxx
+++ b/vncviewer/parameters.cxx
@@ -682,7 +682,7 @@ void saveViewerParameters(const char *filename, const char *servername) {
static bool findAndSetViewerParameterFromValue(
VoidParameter* parameters[], size_t parameters_len,
- char* value, char* line, char* filepath)
+ char* value, char* line)
{
const size_t buffersize = 256;
char decodingBuffer[buffersize];
@@ -821,11 +821,11 @@ char* loadViewerParameters(const char *filename) {
} else {
invalidParameterName = findAndSetViewerParameterFromValue(parameterArray, sizeof(parameterArray),
- value, line, filepath);
+ value, line);
if (invalidParameterName) {
invalidParameterName = findAndSetViewerParameterFromValue(readOnlyParameterArray, sizeof(readOnlyParameterArray),
- value, line, filepath);
+ value, line);
}
}
} catch(Exception& e) {