Change in libosmocore[master]: stats: have_value is a bool, not int

osmith gerrit-no-reply at lists.osmocom.org
Tue Apr 6 10:00:30 UTC 2021


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/23651 )


Change subject: stats: have_value is a bool, not int
......................................................................

stats: have_value is a bool, not int

Change-Id: Id92c63f4e54ec1bf3411205be1bd268e1d184b03
---
M src/stats.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/51/23651/1

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) {

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/23651
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Id92c63f4e54ec1bf3411205be1bd268e1d184b03
Gerrit-Change-Number: 23651
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210406/b0c0c555/attachment.htm>


More information about the gerrit-log mailing list