Source-Changes-D archive

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

Re: CVS commit: src/sbin/fsck_ext2fs



On 21.04.2017 19:47, coypu%sdf.org@localhost wrote:
> On Fri, Apr 21, 2017 at 01:33:05PM -0400, Christos Zoulas wrote:
>> e2di_block is an array; can't be NULL, (clang)
> 
> I'm guessing this is from
> http://releng.netbsd.org/builds/HEAD-llvm/201704191240Z/amd64.build.failed
> 
> 
> /home/source/ab/HEAD-llvm/src/sbin/fsck_ext2fs/pass1.c:242:39: warning: comparison of array 'dp->e2di_blocks' equal to a null pointer is always false [-Wtautological-pointer-compare]
>                     (EXT2_MAXSYMLINKLEN == 0 && dp->e2di_blocks == 0)) {
>                                                 ~~~~^~~~~~~~~~~    ~
> 
> 1 warning generated.
> 
> How come that warning wasn't fatal?
> 

It's a valid code.

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index