mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-24 15:15:44 +00:00
Let's see if this assert makes static analyzers happier.
This commit is contained in:
parent
2fdebf6a29
commit
446d86c7a2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user