Follow-up Comment #6, bug #15498 (project freeciv):

The missing part of the text:


1279  for (o = 0; o < NUM_TRADE_ROUTES; o++) {
1280     struct city *pother_city =
game_find_city_by_number(pcity->trade[o]);
1281 
1282     fc_assert_action(pcity->trade[o] == 0 || pother_city != NULL,
continue);
1283     remove_trade_route(pother_city, pcity);
1284   }


This check and the call to fc_assert_*() are redundant. The reason I opened
this bug was, that the fc_assert_action never executes the action 'continue'
(see report) ...

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?15498>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to