[Gluster-devel] question on GF_ASSERT (0)
Pranith Kumar Karampuri
pkarampu at redhat.com
Tue Jul 31 05:49:51 UTC 2012
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
More information about the Gluster-devel
mailing list