Cppcheck: Fixed most issued in rtgui/*

This commit is contained in:
heckflosse
2016-10-04 23:28:19 +02:00
parent 01048ee513
commit 566d4c9822
34 changed files with 247 additions and 261 deletions

View File

@@ -102,7 +102,7 @@ void ExtProgStore::init ()
#endif
}
#ifdef WIN32
bool ExtProgStore::searchProgram (const Glib::ustring& name,
const Glib::ustring& exePath,
const Glib::ustring& exePath86,
@@ -111,7 +111,6 @@ bool ExtProgStore::searchProgram (const Glib::ustring& name,
bool allowQueueProcess)
{
#ifdef WIN32
// get_user_special_dir crashes on some Windows configurations.
static Glib::ustring progFilesDir, progFilesDirx86;
@@ -196,10 +195,10 @@ bool ExtProgStore::searchProgram (const Glib::ustring& name,
return true;
}
#endif
return false;
}
#endif
bool ExtProgStore::spawnCommandAsync (const Glib::ustring& cmd)
{