On Sat, 8 Jun 2002, Giorgos Keramidas wrote:

> WARNS=5 is rather picky about our libc in CURRENT.  One of the
> warnings I can see is:
>
>       /home/charon/a/freebsd/src/lib/libc/db/btree/bt_delete.c:
>         In function `__bt_stkacq':
>       /home/charon/a/freebsd/src/lib/libc/db/btree/bt_delete.c:155:
>         warning: declaration of `index' shadows a global declaration
>
> Is it worth going through the file and changing `index' with something
> that does not conflict with index(3)?

`index' is a fine variable name.  This warning is really about traditional
namespace pollution in <string.h> stealing a fine variable name.

Bruce


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to