Re: avoiding 'dead store's reported by clang

2009-09-01 Thread Jim Meyering
Pádraig Brady wrote: > Jim Meyering wrote: >> I've run clang on coreutils, and it spotted quite a few dead stores. >> These changes remove them: >> >> The chmod.c change below was not completely transparent, since >> the new code returns immediately after issuing the root-dev-inode >> warning, wher

Re: avoiding 'dead store's reported by clang

2009-09-01 Thread Pádraig Brady
Jim Meyering wrote: > I've run clang on coreutils, and it spotted quite a few dead stores. > These changes remove them: > > The chmod.c change below was not completely transparent, since > the new code returns immediately after issuing the root-dev-inode > warning, whereas the old code would fall