tag unused Cmd [-Wunused-parameter]

This commit is contained in:
Philippe Teuwen
2019-04-10 12:23:40 +02:00
parent c10e47f8a9
commit cc0454d5d2
48 changed files with 132 additions and 27 deletions

View File

@@ -68,6 +68,7 @@ bool endsWith(const char *base, const char *str) {
* ending with .lua
*/
int CmdScriptList(const char *Cmd) {
(void)Cmd; // Cmd is not used so far
char const *exedir = get_my_executable_directory();
if (exedir == NULL)
@@ -191,6 +192,7 @@ int CmdScript(const char *Cmd) {
* @return
*/
int CmdHelp(const char *Cmd) {
(void)Cmd; // Cmd is not used so far
PrintAndLogEx(NORMAL, "This is a feature to run Lua-scripts. You can place lua-scripts within the scripts/-folder. ");
return 0;
}