Commit 46b35b2c authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

Initialize variable.

parent b25ac6b0
...@@ -132,6 +132,7 @@ Process* Process_new(struct ProcessList_ *pl) { ...@@ -132,6 +132,7 @@ Process* Process_new(struct ProcessList_ *pl) {
this->utime = 0; this->utime = 0;
this->stime = 0; this->stime = 0;
this->comm = NULL; this->comm = NULL;
this->indent = 0;
if (Process_getuid == -1) Process_getuid = getuid(); if (Process_getuid == -1) Process_getuid = getuid();
return this; return this;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment