Upstream version 7.35.139.0
[platform/framework/web/crosswalk.git] / src / components / storage_monitor / media_storage_util.cc
index c95f534..20190d4 100644 (file)
@@ -116,7 +116,7 @@ bool MediaStorageUtil::CanCreateFileSystem(const std::string& device_id,
   if (type == StorageInfo::MAC_IMAGE_CAPTURE)
     return true;
 
-  return !path.empty() && path.IsAbsolute() && !path.ReferencesParent();
+  return path.IsAbsolute() && !path.ReferencesParent();
 }
 
 // static