projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1829 from rubenk/clang-format
[collectd.git]
/
src
/
ascent.c
diff --git
a/src/ascent.c
b/src/ascent.c
index
9124c26
..
a947bce
100644
(file)
--- a/
src/ascent.c
+++ b/
src/ascent.c
@@
-365,9
+365,9
@@
static int ascent_xml_sessions_plr (xmlDoc *doc, xmlNode *node, /* {{{ */
static int ascent_xml_sessions (xmlDoc *doc, xmlNode *node) /* {{{ */
{
xmlNode *child;
static int ascent_xml_sessions (xmlDoc *doc, xmlNode *node) /* {{{ */
{
xmlNode *child;
- player_stats_t ps
;
-
-
memset (&ps, 0, sizeof (ps))
;
+ player_stats_t ps
= {
+ .level_sum = 0
+
}
;
for (child = node->xmlChildrenNode; child != NULL; child = child->next)
{
for (child = node->xmlChildrenNode; child != NULL; child = child->next)
{