max_trade_routes() never returns a negative value. Its return type should reflect this.
I think that some clang analyzer warnings we're getting result only from the fact that compiler considers the possibility that a value got from max_trade_routes() is negative.
max_trade_routes() never returns a negative value. Its return type should reflect this.
I think that some clang analyzer warnings we're getting result only from the fact that compiler considers the possibility that a value got from max_trade_routes() is negative.