Re: redundant NULL pointer check
On 11/24/20 10:22, wenyi,xie via groups.io wrote:
Hi all，Assuming Info is a valid pointer, Info->VolumeLabel is an array object.
When evaluated, Info->VolumeLabel is converted to the address of its
The address of the first element of an array object can never be NULL.
And so (Info->VolumeLabel == NULL) will always evaluate to FALSE.