Project

General

Profile

Actions

Bug #335

closed

announce_trade_route_removal() call with a NULL city

Added by Marko Lindqvist 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Category:
Server
Target version:
Start date:
03/22/2024
Due date:
% Done:

0%

Estimated time:

Description

remove_trade_route() calls announce_trade_route_removal() even if the partner city is NULL. announce_trade_route_removal() expects both ends to be non-NULL.

I don't think that partner city can ever be NULL in remove_trade_route(), but it's already checking against it, so should be consistent.


Files

Actions #1

Updated by Marko Lindqvist 4 months ago

Actions #2

Updated by Marko Lindqvist 4 months ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF