Module: monitoring-plugins Branch: master Commit: acf57dba5233926a95fc746429f31f3009111b6f Author: Lorenz Kästle <12514511+rincewinds...@users.noreply.github.com> Date: Mon Mar 10 01:32:49 2025 +0100 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=acf57dba
check_smtp: Remove unused enum --- plugins/check_smtp.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index 0be02937..1b36a22a 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c @@ -91,11 +91,6 @@ static int my_close(int /*socket_descriptor*/); static int verbose = 0; -enum { - TCP_PROTOCOL = 1, - UDP_PROTOCOL = 2, -}; - int main(int argc, char **argv) { /* Catch pipe errors in read/write - sometimes occurs when writing QUIT */ (void)signal(SIGPIPE, SIG_IGN);