summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/check_curl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/check_curl.c b/src/check_curl.c
index 620c089..6453993 100644
--- a/src/check_curl.c
+++ b/src/check_curl.c
@@ -49,7 +49,6 @@ int main( int argc, char *argv[] ) {
curlhelp_statusline status_line;
const char *protocol;
const char *answer_protocol;
- const char *answer_protocol_version;
cmdline_parser_init( &args_info );
@@ -232,10 +231,8 @@ int main( int argc, char *argv[] ) {
/* set answer protocol */
if( strcmp( protocol, "http" ) == 0 ) {
answer_protocol = "HTTP";
- answer_protocol_version = "";
} else if( strcmp( protocol, "ftp" ) == 0 ) {
answer_protocol = "FTP";
- answer_protocol_version = "";
}
/* Curl errors, result in critical Nagios state */