mirror of https://github.com/axmolengine/axmol.git
remove unused declare
This commit is contained in:
parent
514cd031b3
commit
63344a8560
|
@ -168,9 +168,7 @@ ConsoleCustomCommand::ConsoleCustomCommand()
|
|||
{
|
||||
static struct Console::Command commands[] = {
|
||||
{"hello", "This is just a user generated command", [](int fd, const std::string& args) {
|
||||
|
||||
const char msg[] = "how are you?\nArguments passed: ";
|
||||
auto _console = Director::getInstance()->getConsole();
|
||||
send(fd, msg, sizeof(msg),0);
|
||||
send(fd, args.c_str(), args.length(),0);
|
||||
send(fd, "\n",1,0);
|
||||
|
|
Loading…
Reference in New Issue