From 91491824aeb63fba4af521850220aa59d5f1fa6c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 7 Dec 2016 11:02:02 -0800 Subject: [PATCH] Removed unneeded warning when running from Visual Studio --- src/SDL_log.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SDL_log.c b/src/SDL_log.c index 82a96cefd..2739e9470 100644 --- a/src/SDL_log.c +++ b/src/SDL_log.c @@ -335,7 +335,8 @@ SDL_LogOutput(void *userdata, int category, SDL_LogPriority priority, if (!attachResult) { attachError = GetLastError(); if (attachError == ERROR_INVALID_HANDLE) { - OutputDebugString(TEXT("Parent process has no console\r\n")); + /* This is expected when running from Visual Studio */ + /*OutputDebugString(TEXT("Parent process has no console\r\n"));*/ consoleAttached = -1; } else if (attachError == ERROR_GEN_FAILURE) { OutputDebugString(TEXT("Could not attach to console of parent process\r\n"));