Fixed "Werror" related compilation problems on Linux and Meego.

This commit is contained in:
Xawotihs
2011-08-14 18:09:02 +00:00
parent 8f1e97f8f9
commit c188b4d104
20 changed files with 22 additions and 51 deletions

View File

@@ -76,7 +76,7 @@ const string Options::optionNames[] = {
int Options::getID(string name)
{
if (0 == name.size())
INVALID_OPTION;
return INVALID_OPTION;
std::transform(name.begin(), name.end(), name.begin(), ::tolower);