commit | d4393608a4102acc666622d7e233f3586ba27d6e | [log] [tgz] |
---|---|---|
author | Oliver Smith <osmith@sysmocom.de> | Tue Apr 06 11:53:42 2021 +0200 |
committer | laforge <laforge@osmocom.org> | Wed Apr 07 18:39:05 2021 +0000 |
tree | 67452dbb3368eb29b7dccbb135e813d12a7f5e7a | |
parent | 2623fca8ad6f1617c407d270e9be4acc96499c2b [diff] [blame] |
stats: have_value is a bool, not int Change-Id: Id92c63f4e54ec1bf3411205be1bd268e1d184b03
diff --git a/src/stats.c b/src/stats.c index 91cf839..411ecff 100644 --- a/src/stats.c +++ b/src/stats.c
@@ -709,7 +709,7 @@ { struct osmo_stats_reporter *srep; int32_t value; - int have_value; + bool have_value; have_value = osmo_stat_item_get_next(item, &item->stats_next_id, &value) > 0; if (!have_value) {