mirror of https://github.com/xzeldon/htop.git
Initialize variable.
This commit is contained in:
parent
b25ac6b0f7
commit
46b35b2c7f
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue