From 7afdd225d81ea7151636f277b607ed7b5a2e1257 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 13 Feb 2016 13:59:32 +0100 Subject: [PATCH] Changed: Don't call FormatMessage --- code/ryzom/client/src/login.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/code/ryzom/client/src/login.cpp b/code/ryzom/client/src/login.cpp index bace38e04..de712d721 100644 --- a/code/ryzom/client/src/login.cpp +++ b/code/ryzom/client/src/login.cpp @@ -1848,19 +1848,6 @@ class CAHOpenURL : public IActionHandler } else { - DWORD ret = 0; - LPVOID lpMsgBuf; - FormatMessage( - FORMAT_MESSAGE_ALLOCATE_BUFFER | - FORMAT_MESSAGE_FROM_SYSTEM | - FORMAT_MESSAGE_IGNORE_INSERTS, - NULL, - ret, - MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language - (LPTSTR) &lpMsgBuf, - 0, - NULL - ); // Process any inserts in lpMsgBuf. // ... // Display the string.