This is an automated email from the git hooks/post-receive script.
firstyear pushed a commit to branch master
in repository 389-ds-base.
commit 1155d5044695a944bdfd04f3410c7ef14ef8dcaf
Author: William Brown <firstyear(a)redhat.com>
Date: Fri Mar 24 09:59:56 2017 +1000
Ticket 48989 - missing return in counter
Bug Description: missing return in counter set_value
Fix Description: Add the return
https://pagure.io/389-ds-base/issue/48989
Author: wibrown
Review by: one line fix
---
ldap/servers/slapd/slapi_counter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ldap/servers/slapd/slapi_counter.c b/ldap/servers/slapd/slapi_counter.c
index 5ab5f32..4b03a29 100644
--- a/ldap/servers/slapd/slapi_counter.c
+++ b/ldap/servers/slapd/slapi_counter.c
@@ -207,8 +207,8 @@ uint64_t slapi_counter_set_value(Slapi_Counter *counter, uint64_t
newvalue)
/* Put value in a register for cmpxchg to compare against */
_Asm_mov_to_ar(_AREG_CCV, value);
} while (value != _Asm_cmpxchg(_FASZ_D, _SEM_ACQ, &(counter->value), newvalue,
_LDHINT_NONE));
- return newvalue;
#endif
+ return newvalue;
}
/*
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.