mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-29 12:35:48 +00:00
MISRA-C requirement: The value of an expression shall be the same under any order of evaluation. The order in which side effects take place is unspecified and may lead to unexpected results. This patch add a temporary variable for temporary storage to avoid the side effects of evaluation order. Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>