projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: replace memset to 0 with initializers
[collectd.git]
/
src
/
collectdctl.c
diff --git
a/src/collectdctl.c
b/src/collectdctl.c
index
ee11c45
..
8ca0559
100644
(file)
--- a/
src/collectdctl.c
+++ b/
src/collectdctl.c
@@
-194,7
+194,6
@@
static int getval (lcc_connection_t *c, int argc, char **argv)
return (-1);
}
- memset (&ident, 0, sizeof (ident));
status = parse_identifier (c, argv[1], &ident);
if (status != 0)
return (status);
@@
-566,7
+565,6
@@
int main (int argc, char **argv) {
break;
case 'h':
exit_usage (argv[0], 0);
- break;
default:
exit_usage (argv[0], 1);
}