ntdll: Ensure that performance information is initialized (scan-build).
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6e10f8fad3
commit
eb699821d0
|
@ -2439,7 +2439,7 @@ NTSTATUS WINAPI NtQuerySystemInformation(
|
||||||
|
|
||||||
if ((fp = fopen("/proc/meminfo", "r")))
|
if ((fp = fopen("/proc/meminfo", "r")))
|
||||||
{
|
{
|
||||||
unsigned long long totalram, freeram, totalswap, freeswap;
|
unsigned long long totalram = 0, freeram = 0, totalswap = 0, freeswap = 0;
|
||||||
char line[64];
|
char line[64];
|
||||||
while (fgets(line, sizeof(line), fp))
|
while (fgets(line, sizeof(line), fp))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue