[RFC] [CTDB] Optimized memory handling.
Amitay Isaacs
amitay at gmail.com
Fri Dec 15 07:56:02 UTC 2017
On Fri, Dec 15, 2017 at 5:16 PM, Swen Schillig via samba-technical
<samba-technical at lists.samba.org> wrote:
> On Thu, 2017-12-14 at 14:53 -0500, jim via samba-technical wrote:
>> You should not remove the error checks.
>> The errors won't happen but that is no reason not to keep the checks.
>> The code might change in the future.
>
> I disagree, if a situation cannot happen, then there's no reason to
> check for it. If things change in future, then this can too.
>
That's not correct. As long as we are making any library calls (even
though it's tevent), you cannot assume it will always succeed.
Amitay.
More information about the samba-technical
mailing list