From 651b7fc13cf09d43604d5b448032efe1187469aa Mon Sep 17 00:00:00 2001 From: Luis Cabellos Date: Wed, 31 Dec 2014 18:37:59 +0100 Subject: [PATCH] Remove warn error on Exit Change the return error on Linux to -1 to standard EXIT_SUCCESS value. --- cocos/platform/linux/CCApplication-linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/platform/linux/CCApplication-linux.cpp b/cocos/platform/linux/CCApplication-linux.cpp index 28fcbe5405..34062995ad 100644 --- a/cocos/platform/linux/CCApplication-linux.cpp +++ b/cocos/platform/linux/CCApplication-linux.cpp @@ -104,7 +104,7 @@ int Application::run() director = nullptr; } glview->release(); - return -1; + return EXIT_SUCCESS; } void Application::setAnimationInterval(double interval)