FS-10690: [libblade] Fix for return type that wasn't being detected correctly by compilers
This commit is contained in:
parent
fd061fc2b8
commit
0078f4027c
|
@ -470,7 +470,7 @@ KS_DECLARE(ks_bool_t) blade_mastermgr_protocol_channel_authorization_verify(blad
|
||||||
|
|
||||||
bp = (blade_protocol_t *)ks_hash_search(bmmgr->protocols, (void *)protocol, KS_UNLOCKED);
|
bp = (blade_protocol_t *)ks_hash_search(bmmgr->protocols, (void *)protocol, KS_UNLOCKED);
|
||||||
if (!bp) {
|
if (!bp) {
|
||||||
ret = KS_STATUS_NOT_FOUND;
|
ret = KS_FALSE;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -478,7 +478,7 @@ KS_DECLARE(ks_bool_t) blade_mastermgr_protocol_channel_authorization_verify(blad
|
||||||
|
|
||||||
bc = blade_protocol_channel_lookup(bp, channel, KS_FALSE);
|
bc = blade_protocol_channel_lookup(bp, channel, KS_FALSE);
|
||||||
if (!bc) {
|
if (!bc) {
|
||||||
ret = KS_STATUS_NOT_FOUND;
|
ret = KS_FALSE;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue