[Gluster-devel] question on GF_ASSERT (0)

lancelotds lancelotds at 163.com
Tue Jul 31 04:57:39 UTC 2012


hi, all
    I have a question when I was reading glusterfs source code. some code is like that:
       
       if (!xl) {
             GF_ASSERT (0);
       }
   why not just write  GF_ASSERT (xl); ?




Best wishes







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20120731/dd17b4d0/attachment-0003.html>


More information about the Gluster-devel mailing list