mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-24 00:31:32 -04:00
Removed unused parameter warnings in retroshare-gui.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4559 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c6beee44ec
commit
70d02c718d
60 changed files with 132 additions and 113 deletions
|
@ -1,7 +1,7 @@
|
|||
/****************************************************************
|
||||
* This file is distributed under the following license:
|
||||
*
|
||||
* Copyright (c) 2006-2007, crypton
|
||||
* This file is distributed under the following license:
|
||||
*
|
||||
* Copyright (c) 2006-2007, crypton
|
||||
* Copyright (c) 2006, Matt Edman, Justin Hipple
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
|
@ -39,7 +39,7 @@
|
|||
/** Finds the location of the "special" Windows folder using the given CSIDL
|
||||
* value. If the folder cannot be found, the given default path is used. */
|
||||
QString
|
||||
win32_get_folder_location(int folder, QString defaultPath)
|
||||
win32_get_folder_location(int /*folder*/, QString defaultPath)
|
||||
{
|
||||
#if 0
|
||||
TCHAR path[MAX_PATH+1];
|
||||
|
@ -90,6 +90,9 @@ win32_registry_get_key_value(QString keyLocation, QString keyName)
|
|||
|
||||
return QString(data);
|
||||
#else
|
||||
Q_UNUSED(keyLocation);
|
||||
Q_UNUSED(keyName);
|
||||
|
||||
return QString();
|
||||
#endif
|
||||
}
|
||||
|
@ -120,6 +123,10 @@ win32_registry_set_key_value(QString keyLocation, QString keyName, QString keyVa
|
|||
|
||||
/* Close the key */
|
||||
RegCloseKey(key);
|
||||
#else
|
||||
Q_UNUSED(keyLocation);
|
||||
Q_UNUSED(keyName);
|
||||
Q_UNUSED(keyValue);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -141,6 +148,9 @@ win32_registry_remove_key(QString keyLocation, QString keyName)
|
|||
|
||||
/* Close anything that was opened */
|
||||
RegCloseKey(key);
|
||||
#else
|
||||
Q_UNUSED(keyLocation);
|
||||
Q_UNUSED(keyName);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue