mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-26 07:56:38 +03:00
Initialize variable.
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user