mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
initialize StringBuffer to NULL, as some code paths lead to it being tested without ever being set.
svn path=/trunk/; revision=17274
This commit is contained in:
parent
f9b3f28fbe
commit
eb742a2d70
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ ObpCaptureObjectName(IN OUT PUNICODE_STRING CapturedName,
|
|||
{
|
||||
NTSTATUS Status = STATUS_SUCCESS;
|
||||
ULONG StringLength;
|
||||
PWCHAR StringBuffer;
|
||||
PWCHAR StringBuffer = NULL;
|
||||
UNICODE_STRING LocalName = {}; /* <= GCC 4.0 + Optimizer */
|
||||
|
||||
/* Initialize the Input String */
|
||||
|
|
Loading…
Reference in a new issue