Ticket #39576

English version: unused expressions in monster1.c

Open Date: 2019-09-14 01:12 Last Update: 2021-01-01 22:44

Reporter:
Owner:
Type:
Status:
Closed
Component:
(None)
Priority:
1 - Lowest
Severity:
1 - Lowest
Resolution:
Fixed
File:
1

Details

After configuring with --disable-japanese, compiling monster1.c for the English version with Apple's cc (version 10.0.1) generates compiler warnings about unused expressions in three places (at lines 369 and 377 about avenging predecessors and line 1550 about evolving into another creature). That should lead to missing output in the monster recall. I've attached a patch that moves format() into the _() macro in those three places to avoid the compiler warnings.

Ticket History (3/6 Histories)

2019-09-14 01:12 Updated by: backwardseric
  • New Ticket "English version: unused expressions in monster1.c" created
2019-09-14 15:47 Updated by: deskull
  • Owner Update from (None) to deskull

Attachment File List

Edit

Please login to add comment to this ticket » Login