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:
parent
4d525212a9
commit
639243192e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue