Removed unneeded warning when running from Visual Studio
authorSam Lantinga <slouken@libsdl.org>
Wed, 07 Dec 2016 11:02:02 -0800
changeset 10686964e600644f4
parent 10685 bfddf6a4bcad
child 10687 485d388d2d28
Removed unneeded warning when running from Visual Studio
src/SDL_log.c
     1.1 --- a/src/SDL_log.c	Tue Dec 06 14:22:28 2016 -0700
     1.2 +++ b/src/SDL_log.c	Wed Dec 07 11:02:02 2016 -0800
     1.3 @@ -335,7 +335,8 @@
     1.4              if (!attachResult) {
     1.5                      attachError = GetLastError();
     1.6                      if (attachError == ERROR_INVALID_HANDLE) {
     1.7 -                        OutputDebugString(TEXT("Parent process has no console\r\n"));
     1.8 +                        /* This is expected when running from Visual Studio */
     1.9 +                        /*OutputDebugString(TEXT("Parent process has no console\r\n"));*/
    1.10                          consoleAttached = -1;
    1.11                      } else if (attachError == ERROR_GEN_FAILURE) {
    1.12                           OutputDebugString(TEXT("Could not attach to console of parent process\r\n"));