Do not print errors when searching for usable configuration file
authorPerttu Ahola <celeron55@gmail.com>
Sat, 10 Mar 2012 23:09:27 +0000 (01:09 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Sat, 10 Mar 2012 23:09:27 +0000 (01:09 +0200)
src/settings.h

index c08d54a4713ad3c696640ee5e1542f651f189040..9eb2254f06423c742da95fd76a54028ac4736f84 100644 (file)
@@ -145,11 +145,7 @@ public:
        {
                std::ifstream is(filename);
                if(is.good() == false)
-               {
-                       errorstream<<"Error opening configuration file \""
-                                       <<filename<<"\""<<std::endl;
                        return false;
-               }
 
                infostream<<"Parsing configuration file: \""
                                <<filename<<"\""<<std::endl;