Ticket #45831

research_invention_state() trying to return -1 on error

오픈 날짜: 2022-10-11 22:28 마지막 업데이트: 2022-12-17 19:35

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
1

Details

research_invention_state() return type is enum tech_state, but it still has:

fc_assert_ret_val(NULL != valid_advance_by_number(tech), -1);

Ticket History (3/5 Histories)

2022-10-11 22:28 Updated by: cazfi
  • New Ticket "research_invention_state() trying to return -1 on error" created
2022-12-05 00:22 Updated by: cazfi
2022-12-14 09:27 Updated by: cazfi
  • 소유자 Update from (None) to cazfi
  • Resolution Update from None to Accepted
2022-12-17 19:35 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login