[Gluster-devel] question on GF_ASSERT (0)

Jules Wang lancelotds at 163.com
Tue Jul 31 06:26:38 UTC 2012


hi, Pranith:      no problem,  I will send a patch to gerrit. 
      By the way, say 'hello~' to gluster  community. :-)


Jules Wang


At 2012-07-31 13:49:51,"Pranith Kumar Karampuri" <pkarampu at redhat.com> wrote:
>lancelotds,
>    Makes sense. Would you like to send a patch?.
>
>Pranith.
>
>----- Original Message -----
>From: "lancelotds" <lancelotds at 163.com>
>To: gluster-devel at nongnu.org
>Sent: Tuesday, July 31, 2012 10:27:39 AM
>Subject: [Gluster-devel] question on GF_ASSERT (0)
>
>
>
>
>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 
>
>
>
>
>
>
>
>
>
>
>_______________________________________________
>Gluster-devel mailing list
>Gluster-devel at nongnu.org
>https://lists.nongnu.org/mailman/listinfo/gluster-devel



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


More information about the Gluster-devel mailing list