CFile: some cosmetics
authormontellese <montellese@xbmc.org>
Thu, 12 Sep 2013 19:12:59 +0000 (21:12 +0200)
committermontellese <montellese@xbmc.org>
Thu, 12 Sep 2013 20:55:32 +0000 (22:55 +0200)
xbmc/filesystem/File.cpp

index 0d07d45..0314170 100644 (file)
@@ -338,7 +338,7 @@ bool CFile::OpenForWrite(const CStdString& strFileName, bool bOverWrite)
 
 bool CFile::Exists(const CStdString& strFileName, bool bUseCache /* = true */)
 {
-  CURL url = URIUtils::SubstitutePath(strFileName);;
+  CURL url = URIUtils::SubstitutePath(strFileName);
   
   try
   {
@@ -348,7 +348,7 @@ bool CFile::Exists(const CStdString& strFileName, bool bUseCache /* = true */)
     if (bUseCache)
     {
       bool bPathInCache;
-      if (g_directoryCache.FileExists(url.Get(), bPathInCache) )
+      if (g_directoryCache.FileExists(url.Get(), bPathInCache))
         return true;
       if (bPathInCache)
         return false;