Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
dcdb
dcdb
Commits
189c7abd
Commit
189c7abd
authored
Jul 31, 2019
by
Micha Müller
Browse files
Fix GCC maybe-uninitialized warning
parent
9c285623
Changes
1
Hide whitespace changes
Inline
Side-by-side
analytics/operators/aggregator/AggregatorOperator.cpp
View file @
189c7abd
...
...
@@ -92,6 +92,8 @@ void AggregatorOperator::compute_internal(U_Ptr unit, vector<reading_t> *buffer)
reading
.
value
=
computeObs
(
_buffer
);
break
;
default:
LOG
(
warning
)
<<
_name
<<
": Encountered unknown operation!"
;
reading
.
value
=
0
;
break
;
}
out
->
storeReading
(
reading
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment