Commit 63924319 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

secur32: Turn variables 'bs' and 'ds' into static constants.

parent 4d525212
......@@ -1001,8 +1001,8 @@ BOOLEAN WINAPI GetComputerObjectNameW(
DWORD len = domainInfo->Name.Length + size + 3;
if (lpNameBuffer && *nSize >= len)
{
WCHAR bs[] = { '\\', 0 };
WCHAR ds[] = { '$', 0 };
static const WCHAR bs[] = { '\\', 0 };
static const WCHAR ds[] = { '$', 0 };
if (domainInfo->Name.Buffer)
{
lstrcpyW(lpNameBuffer, domainInfo->Name.Buffer);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment