Code

Removed unnecessary regex array
authorTon Voon <tonvoon@users.sourceforge.net>
Mon, 7 Apr 2003 21:21:12 +0000 (21:21 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Mon, 7 Apr 2003 21:21:12 +0000 (21:21 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@472 f882894a-f735-0410-b71e-b25c423dba1c

plugins/check_snmp.c

index b943379d4770bbc67d220ec258c9d6019f5abd9f..8715fb0515acd777a63e4f48b788972e8d110a1c 100644 (file)
@@ -167,7 +167,6 @@ char regex_expect[MAX_INPUT_BUFFER] = "";
 regex_t preg;
 regmatch_t pmatch[10];
 char timestamp[10] = "";
-char regex[MAX_INPUT_BUFFER];
 char errbuf[MAX_INPUT_BUFFER];
 int cflags = REG_EXTENDED | REG_NOSUB | REG_NEWLINE;
 int eflags = 0;