Let's see if this assert makes static analyzers happier.

This commit is contained in:
Hisham Muhammad 2014-04-24 12:16:51 -03:00
parent 2fdebf6a29
commit 446d86c7a2
1 changed files with 1 additions and 0 deletions

View File

@ -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);