From f9c231ec12c2233557bfbb58feb87a1fcddf224a Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Fri, 5 Aug 2016 10:10:18 -0400 Subject: vpp-189 Clean up more coverity warnings Time to make the donuts Change-Id: I528937800f7daefce19723dda0216e58d857942c Signed-off-by: Dave Barach --- vlib/vlib/unix/cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vlib') diff --git a/vlib/vlib/unix/cli.c b/vlib/vlib/unix/cli.c index 7d5e10b8b8e..22f07f99eb1 100644 --- a/vlib/vlib/unix/cli.c +++ b/vlib/vlib/unix/cli.c @@ -2397,8 +2397,8 @@ unix_cli_config (vlib_main_t * vm, unformat_input_t * input) if (isatty (UNIX_CLI_STDIN_FD) && um->cli_line_mode == 0) { /* Capture terminal resize events */ + memset (&sa, 0, sizeof(sa)); sa.sa_handler = unix_cli_resize_interrupt; - sa.sa_flags = 0; if (sigaction (SIGWINCH, &sa, 0) < 0) clib_panic ("sigaction"); -- cgit 1.2.3-korg