From 8a9d81dbbf3fc8159920335777d862d543995499 Mon Sep 17 00:00:00 2001 From: Vladislav Ivanishin Date: Thu, 6 Jun 2019 19:28:20 +0300 Subject: [PATCH 09/11] pstree: initialize pid_set --- src/pstree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pstree.c b/src/pstree.c index aaf3df7..e4fed4d 100644 --- a/src/pstree.c +++ b/src/pstree.c @@ -1148,7 +1148,7 @@ int main(int argc, char **argv) pid_t pid, highlight; char termcap_area[1024]; char *termname, *endptr; - int c, pid_set; + int c, pid_set = 0; enum ns_type nsid = NUM_NS; struct option options[] = { -- 2.20.1