remove unused declare

This commit is contained in:
heliclei 2014-02-25 11:58:45 +08:00
parent 514cd031b3
commit 63344a8560
1 changed files with 0 additions and 2 deletions

View File

@ -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);