This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH,HURD] sendto: do not crash when addr is NULL


> Hm ok, I saw other cases of shadowing by internal subroutines, and 
> assumed it was okay (since inside them you want to refer to the local 
> "err" instead of the outermost one.

It's not the worst thing ever, and we don't compile with -Wshadow.
But shadowing is usually a good thing to avoid just to make reading
the code easier to follow.


Thanks,
Roland


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]