From: terencehill Date: Fri, 24 Aug 2018 12:43:32 +0000 (+0200) Subject: Remove 2 unused function parameters X-Git-Tag: xonotic-v0.8.5~1916 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e33a39a734e30d986e7c0f80c7de87786d04661c;p=xonotic%2Fxonotic-data.pk3dir.git Remove 2 unused function parameters --- diff --git a/qcsrc/common/command/generic.qc b/qcsrc/common/command/generic.qc index 08c20072c..2cac0b1e5 100644 --- a/qcsrc/common/command/generic.qc +++ b/qcsrc/common/command/generic.qc @@ -312,7 +312,7 @@ void GenericCommand_maplist(int request, int argc) } } -void GenericCommand_nextframe(int request, float arguments, string command) +void GenericCommand_nextframe(int request, string command) { switch(request) { @@ -446,7 +446,7 @@ void GenericCommand_settemp(int request, int argc) } } -void GenericCommand_settemp_restore(int request, int argc) +void GenericCommand_settemp_restore(int request) { switch(request) { @@ -525,13 +525,13 @@ void GenericCommand_(int request) // Do not hard code aliases for these, instead create them in commands.cfg... also: keep in alphabetical order, please ;) GENERIC_COMMAND(addtolist, "Add a string to a cvar") { GenericCommand_addtolist(request, arguments); } GENERIC_COMMAND(maplist, "Automatic control of maplist") { GenericCommand_maplist(request, arguments); } -GENERIC_COMMAND(nextframe, "Execute the given command next frame of this VM") { GenericCommand_nextframe(request, arguments, command); } +GENERIC_COMMAND(nextframe, "Execute the given command next frame of this VM") { GenericCommand_nextframe(request, command); } GENERIC_COMMAND(qc_curl, "Queries a URL") { GenericCommand_qc_curl(request, arguments); } GENERIC_COMMAND(removefromlist, "Remove a string from a cvar") { GenericCommand_removefromlist(request, arguments); } GENERIC_COMMAND(restartnotifs, "Re-initialize all notifications") { GenericCommand_restartnotifs(request); } GENERIC_COMMAND(rpn, "RPN calculator") { GenericCommand_rpn(request, arguments, command); } GENERIC_COMMAND(settemp, "Temporarily set a value to a cvar which is restored later") { GenericCommand_settemp(request, arguments); } -GENERIC_COMMAND(settemp_restore, "Restore all cvars set by settemp command") { GenericCommand_settemp_restore(request, arguments); } +GENERIC_COMMAND(settemp_restore, "Restore all cvars set by settemp command") { GenericCommand_settemp_restore(request); } GENERIC_COMMAND(runtest, "Run unit tests") { GenericCommand_runtest(request, arguments); } void GenericCommand_macro_help()