remove the code to silence lint
Warning facilities on recent compilers are incredibly improved, so the code to silence "good-old" lint is much less sense.
This commit is contained in:
@@ -2561,11 +2561,7 @@ xprname(struct obj *obj,
|
||||
long cost, /* cost (for inventory of unpaid or expended items) */
|
||||
long quan) /* if non-0, print this quantity, not obj->quan */
|
||||
{
|
||||
#ifdef LINT /* handle static char li[BUFSZ]; */
|
||||
char li[BUFSZ];
|
||||
#else
|
||||
static char li[BUFSZ];
|
||||
#endif
|
||||
boolean use_invlet = (flags.invlet_constant
|
||||
&& let != CONTAINED_SYM && let != HANDS_SYM);
|
||||
long savequan = 0;
|
||||
|
||||
Reference in New Issue
Block a user