question on GF_ASSERT (0)

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

 



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







[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