From: Pavel Rochnyack Date: Tue, 19 Jun 2018 08:08:54 +0000 (+0700) Subject: snmp_agent: Remove structure initialization X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b80c288a9f3f97b045a767fd0189f96b355dd3d0;p=collectd.git snmp_agent: Remove structure initialization This adressed to fix Solaris 10 builds. Closes: #2814 --- diff --git a/src/snmp_agent.c b/src/snmp_agent.c index aeb01587..d65af1f1 100644 --- a/src/snmp_agent.c +++ b/src/snmp_agent.c @@ -531,7 +531,7 @@ static int snmp_agent_fill_index_list(table_definition_t *td, /* Parsing input string if necessary */ if (td->index_keys[i].regex) { - regmatch_t m = {-1, -1}; + regmatch_t m; /* Parsing input string */ ret = snmp_agent_parse_index_key(ptr, &td->index_keys[i].regex_info,