mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +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
|
@ -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