projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: may be used uninitialized on powerpc
[lttng-ust.git]
/
src
/
common
/
counter
/
counter-api.h
diff --git
a/src/common/counter/counter-api.h
b/src/common/counter/counter-api.h
index ce2bf06a4dc9ca8636afd879ad146b77d7f00963..955c5bb2927cbf621f007167a1d8feb30a032f5b 100644
(file)
--- a/
src/common/counter/counter-api.h
+++ b/
src/common/counter/counter-api.h
@@
-234,7
+234,7
@@
static inline int __lttng_counter_add_percpu(const struct lib_counter_config *co
struct lib_counter *counter,
const size_t *dimension_indexes, int64_t v)
{
- int64_t move_sum;
+ int64_t move_sum
= 0
;
int ret;
ret = __lttng_counter_add(config, COUNTER_ALLOC_PER_CPU, config->sync,
This page took
0.023735 seconds
and
4
git commands to generate.