From: Masud Hasan (mashasan) Date: Wed, 2 Mar 2022 16:53:18 +0000 (+0000) Subject: Pull request #3293: watchdog: remove unused code X-Git-Tag: 3.1.25.0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b7a7e1727ce04a94755ac1cb5414ff45568d03d;p=thirdparty%2Fsnort3.git Pull request #3293: watchdog: remove unused code Merge in SNORT/snort3 from ~SBAIGAL/snort3:wdog_fix to master Squashed commit of the following: commit 638c16a54c5ada4c71787d44b8b855645a3e8833 Author: Steven Baigal (sbaigal) Date: Wed Mar 2 08:41:07 2022 -0500 watchdog: remove unused code --- diff --git a/src/main/thread_config.cc b/src/main/thread_config.cc index f4609bd23..36f63c960 100644 --- a/src/main/thread_config.cc +++ b/src/main/thread_config.cc @@ -275,7 +275,6 @@ void Watchdog::kick() unsigned max = ThreadConfig::get_instance_max(); if ( waiting ) { - int n = 0; WarningMessage("Packet processing thread is unresponsive, aborting Snort!\n"); WarningMessage("Unresponsive thread ID: "); for ( unsigned i = 0; i < max; ++i )