int order;
order = fls(count) - 1;
- if (count & (count - 1))
+ if (count & (count - 1)) {
order++;
+ }
+ assert(order >= 0);
return order;
}
static
int print_escaped_ctf_string(struct ust_registry_session *session, const char *string)
{
- int ret;
+ int ret = 0;
size_t i;
char cur;