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

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2018-11-30 00:14:18 -07:00 committed by Alexandre Julliard
parent 4d525212a9
commit 639243192e
1 changed files with 2 additions and 2 deletions

View File

@ -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);