mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 05:06:14 +09:00
M #-: Fix compilation warning (#1289)
(cherry picked from commit 96241c247a)
This commit is contained in:
1 parent
99d165856d
commit
9493e1ca02
1 file changed
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user