projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
383df7c
)
snmp_agent: Remove structure initialization
author
Pavel Rochnyack
<pavel2000@ngs.ru>
Tue, 19 Jun 2018 08:08:54 +0000
(15:08 +0700)
committer
Pavel Rochnyack
<pavel2000@ngs.ru>
Tue, 19 Jun 2018 08:08:54 +0000
(15:08 +0700)
This adressed to fix Solaris 10 builds.
Closes: #2814
src/snmp_agent.c
patch
|
blob
|
history
diff --git
a/src/snmp_agent.c
b/src/snmp_agent.c
index
aeb0158
..
d65af1f
100644
(file)
--- 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,