On Tue, 26 Sep 2017 21:52:41 +0800, Yang, Yi wrote:
> > +   return ((ret != 0) ? false : true);
> 
> But I don't think this is a problematic line from my understanding,

Why not:

        return ((ret != 0 == true) ? false : true) == true;

?

Sigh. This is equal to:

        return !ret;

which you should use.

 Jiri

Reply via email to