Fix a defect detected by a static code analysis tool 03/10803/2
authorJihun Ha <jihun.ha@samsung.com>
Tue, 23 Aug 2016 12:08:08 +0000 (21:08 +0900)
committerUze Choi <uzchoi@samsung.com>
Tue, 23 Aug 2016 17:19:08 +0000 (17:19 +0000)
The static analysis tool detects a defect about indentation. This patch
is to align the indentation.

Change-Id: I4a72caa256fa3a42132e346c2cc2c67717a83539
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10803
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
service/easy-setup/mediator/richsdk/inc/ESRichCommon.h

index 051f8ea..ebefa5e 100755 (executable)
@@ -533,11 +533,11 @@ namespace OIC
                     if(child->getUri().find(OC_RSRVD_ES_URI_WIFI) != std::string::npos)
                     {
                         if(child->hasAttribute(OC_RSRVD_ES_SUPPORTEDWIFIMODE))
-                {
+                        {
                             for(auto it : child->getValue
                                         <std::vector<int>>(OC_RSRVD_ES_SUPPORTEDWIFIMODE))
-                    {
-                        modes.push_back(static_cast<WIFI_MODE>(it));
+                            {
+                                modes.push_back(static_cast<WIFI_MODE>(it));
                             }
                         }
                     }