fix several gcc warnings

This commit is contained in:
wmayer
2016-11-08 14:31:08 +01:00
parent d2d927e760
commit ff2a361928
6 changed files with 15 additions and 13 deletions

View File

@@ -153,7 +153,7 @@ void PropertyFileIncluded::setValue(const char* sFile, const char* sName)
// if a file with this name already exists search for a new one
std::string dir = pathTrans;
std::string fnp = fi.fileNamePure();
std::string ext = fi.extension(false);
std::string ext = fi.extension();
int i=0;
do {
i++;
@@ -207,7 +207,7 @@ void PropertyFileIncluded::setValue(const char* sFile, const char* sName)
// if a file with this name already exists search for a new one
std::string dir = fi.dirPath();
std::string fnp = fi.fileNamePure();
std::string ext = fi.extension(false);
std::string ext = fi.extension();
int i=0;
do {
i++;