[coverity] 1543172 Pointer to local outside scope
This commit is contained in:
parent
55aa202ff5
commit
843ecfc01a
@ -1002,7 +1002,7 @@ PCSTR PathGetSharedLibraryExtensionA(unsigned long dwFlags)
|
|||||||
|
|
||||||
PCWSTR PathGetSharedLibraryExtensionW(unsigned long dwFlags)
|
PCWSTR PathGetSharedLibraryExtensionW(unsigned long dwFlags)
|
||||||
{
|
{
|
||||||
WCHAR buffer[6][16] = { 0 };
|
static WCHAR buffer[6][16] = { 0 };
|
||||||
const WCHAR* SharedLibraryExtensionDotDllW = InitializeConstWCharFromUtf8(
|
const WCHAR* SharedLibraryExtensionDotDllW = InitializeConstWCharFromUtf8(
|
||||||
SharedLibraryExtensionDotDllA, buffer[0], ARRAYSIZE(buffer[0]));
|
SharedLibraryExtensionDotDllA, buffer[0], ARRAYSIZE(buffer[0]));
|
||||||
const WCHAR* SharedLibraryExtensionDotSoW =
|
const WCHAR* SharedLibraryExtensionDotSoW =
|
||||||
|
Loading…
Reference in New Issue
Block a user