mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
M #-: Fix compilation warning (#1289)
This commit is contained in:
parent
0ebda56330
commit
96241c247a
@ -54,8 +54,8 @@ void MarketPlaceEnable::request_execute(
|
||||
|
||||
if (auto market = pool->get<MarketPlace>(id))
|
||||
{
|
||||
if (enable_flag && market->get_state() == MarketPlace::ENABLED ||
|
||||
!enable_flag && market->get_state() == MarketPlace::DISABLED)
|
||||
if ((enable_flag && market->get_state() == MarketPlace::ENABLED) ||
|
||||
(!enable_flag && market->get_state() == MarketPlace::DISABLED))
|
||||
{
|
||||
success_response(id, att);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user