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:
SHIRAKATA Kentaro
2022-11-19 00:49:11 -08:00
committed by PatR
parent 7d55e71d24
commit 0d441b0c2f
13 changed files with 4 additions and 76 deletions
-4
View File
@@ -25,11 +25,7 @@ equipname(register struct obj* otmp)
long
somegold(long lmoney)
{
#ifdef LINT /* long conv. ok */
int igold = 0;
#else
int igold = (lmoney >= (long) LARGEST_INT) ? LARGEST_INT : (int) lmoney;
#endif
if (igold < 50)
; /* all gold */