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
446d86c7
Commit
446d86c7
authored
Apr 24, 2014
by
Hisham Muhammad
Browse files
Let's see if this assert makes static analyzers happier.
parent
2fdebf6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
OpenFilesScreen.c
View file @
446d86c7
...
...
@@ -115,6 +115,7 @@ static OpenFiles_ProcessData* OpenFilesScreen_getProcessData(pid_t pid) {
fdata
=
nextFile
;
item
=
&
(
fdata
->
data
);
}
assert
(
cmd
>=
0
&&
cmd
<=
0xff
);
item
->
data
[
cmd
]
=
entry
;
}
pdata
->
error
=
pclose
(
fd
);
...
...
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