removed warning when friend directory list cannot be found

This commit is contained in:
csoler 2016-10-12 23:31:32 +02:00
parent bd9a464d11
commit 10c269ec5a
4 changed files with 7 additions and 3 deletions

View file

@ -1144,7 +1144,9 @@ bool InternalFileHierarchyStorage::load(const std::string& fname)
}
catch(read_error& e)
{
#ifdef DEBUG_DIRECTORY_STORAGE
std::cerr << "Error while reading: " << e.what() << std::endl;
#endif
if(buffer != NULL)
free(buffer) ;