Merge "Debug: Initialize local to false"

This commit is contained in:
Treehugger Robot
2016-10-05 04:34:57 +00:00
committed by Gerrit Code Review

View File

@@ -430,6 +430,8 @@ static void load_maps(int pid, stats_t* stats, bool* foundSwapPss)
char tmp[128];
FILE *fp;
*foundSwapPss = false;
sprintf(tmp, "/proc/%d/smaps", pid);
fp = fopen(tmp, "r");
if (fp == 0) return;