Remove trailing whitespace

This commit is contained in:
Philippe Vaucher
2014-03-17 10:35:09 +01:00
parent b86a6743de
commit bdc922c69a
90 changed files with 3466 additions and 3523 deletions

View File

@@ -22,7 +22,7 @@ bool DirectoryExists( const char* pzPath )
if (pDir != NULL)
{
bExists = true;
bExists = true;
(void) closedir (pDir);
}
@@ -34,7 +34,7 @@ bool fileExists( const char* pzPath )
if (pzPath == NULL) return false;
bool fExists = false;
std::ifstream f(pzPath);
std::ifstream f(pzPath);
fExists = f.is_open();
f.close();
return fExists;
@@ -43,9 +43,9 @@ bool fileExists( const char* pzPath )
std::vector<std::string> getFilesInDir(const char* dirPath)
{
DIR *dir;
std::vector<std::string> files;
struct dirent *ent;
if ((dir = opendir (dirPath)) != NULL) {
/* print all the files and directories within directory */
@@ -59,7 +59,7 @@ std::vector<std::string> getFilesInDir(const char* dirPath)
perror ("");
return files;
}
return files;
}
@@ -73,4 +73,4 @@ bool stringCompare( const std::string &left, const std::string &right ){
if( left.size() < right.size() )
return true;
return false;
}
}