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

laforge gerrit-no-reply at lists.osmocom.org
Wed Apr 7 18:39:05 UTC 2021


laforge has submitted this change. ( 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(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



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: 3
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210407/bf862d70/attachment.htm>


More information about the gerrit-log mailing list