Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
46b35b2c
Commit
46b35b2c
authored
Nov 08, 2006
by
Hisham Muhammad
Browse files
Initialize variable.
parent
b25ac6b0
Changes
1
Show whitespace changes
Inline
Side-by-side
Process.c
View file @
46b35b2c
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment