Code style check 10/104810/2
authorPiotr Ganicz <p.ganicz@samsung.com>
Wed, 14 Dec 2016 10:10:38 +0000 (11:10 +0100)
committerjongmyeong ko <jongmyeong.ko@samsung.com>
Fri, 16 Dec 2016 04:41:30 +0000 (20:41 -0800)
This change removes all errors detected by check-coding-style script.

Change-Id: Id5bc7abcade2558295494d1b4fabe8d59815f3d5

src/common/shared_dirs.cc
src/common/step/filesystem/step_change_ownership_and_permission.cc

index 2d03161862c08c0dc87db27e4cf6012e14579356..499df1d765f5521297001ec792fbbdbc5980b054 100644 (file)
@@ -338,9 +338,8 @@ bool PerformExternalDirectoryCreationForUser(uid_t user,
     }
   }
 
-  if (CreateUserDirectories(user, pkgid,
-                            storage_apps_path.c_str(), set_permissions)) {
-  }
+  CreateUserDirectories(user, pkgid,
+                            storage_apps_path.c_str(), set_permissions);
   return true;
 }
 
index 7192f00d94b0b192d12eac1c5c45b351856eca0e..60b7116f8176f74ce617c5e740d230ecebf5e799 100644 (file)
@@ -5,6 +5,8 @@
 
 #include "common/step/filesystem/step_change_ownership_and_permission.h"
 
+#include <boost/range/iterator_range.hpp>
+
 #include <unistd.h>
 #include <sys/types.h>
 #include <fcntl.h>
@@ -15,8 +17,6 @@
 #include <string>
 #include <vector>
 
-#include <boost/range/iterator_range.hpp>
-
 #include "common/paths.h"
 #include "common/request.h"
 #include "common/shared_dirs.h"