Project

General

Profile

Actions

Bug #2272

open

execute_orders() calling action_id_get_target_kind(order.action) multiple times for the same action

Added by Marko Lindqvist 23 days ago. Updated 11 days ago.

Status:
In Review
Priority:
Normal
Category:
Server
Target version:
Start date:
09/21/2026
Due date:
% Done:

0%

Estimated time:

Description

execute_orders() handling of ORDER_PERFORM_ACTION does multiple action_id_get_target_kind(order.action) calls for the same action being handled. This should be otherwise harmless, but clang analyzer does not know that each function call gives the same result, so gives some warnings that would make sense if those results were inconsistent.
Seen on main branch.


Files

Actions #1

Updated by Marko Lindqvist 23 days ago

  • Subject changed from execute_orders() calling action_id_get_target_kind(order.action) mutliple times for the same action to execute_orders() calling action_id_get_target_kind(order.action) multiple times for the same action
Actions

Also available in: Atom PDF