Re: question on GF_ASSERT (0)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



lancelotds,
    Makes sense. Would you like to send a patch?.

Pranith.

----- Original Message -----
From: "lancelotds" <lancelotds@xxxxxxx>
To: gluster-devel@xxxxxxxxxx
Sent: Tuesday, July 31, 2012 10:27:39 AM
Subject: 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@xxxxxxxxxx
https://lists.nongnu.org/mailman/listinfo/gluster-devel



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux