diff options
author | Oliver Smith <osmith@sysmocom.de> | 2021-04-06 11:53:42 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2021-04-07 18:39:05 +0000 |
commit | d4393608a4102acc666622d7e233f3586ba27d6e (patch) | |
tree | 67452dbb3368eb29b7dccbb135e813d12a7f5e7a /src | |
parent | 2623fca8ad6f1617c407d270e9be4acc96499c2b (diff) |
stats: have_value is a bool, not int
Change-Id: Id92c63f4e54ec1bf3411205be1bd268e1d184b03
Diffstat (limited to 'src')
-rw-r--r-- | src/stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stats.c b/src/stats.c index 91cf839b..411ecff9 100644 --- a/src/stats.c +++ b/src/stats.c @@ -709,7 +709,7 @@ static int osmo_stat_item_handler( { 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) { |