From 3513d7be5f5fe162fb2c4f05e1ff2f191312a0e1 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.