mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
detailed_processes(): initialize ret
... to avoid returning it uninitialized. Found by coverity: CID 320935: Uninitialized variables (UNINIT)
This commit is contained in:
parent
b6be7b6204
commit
8bf58a79b1
1 changed files with 1 additions and 1 deletions
|
@ -618,7 +618,7 @@ static int detailed_profiles(FILE *outf, filters_t *filters, bool json,
|
|||
*/
|
||||
static int detailed_processes(FILE *outf, filters_t *filters, bool json,
|
||||
struct process *processes, size_t nprocesses) {
|
||||
int ret;
|
||||
int ret = 0;
|
||||
size_t i;
|
||||
int need_finish = 0;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue