Remove a line that cannot do anything.

If get_dir returns a non-empty string, the directory (now)
exists. Calling create_directory_if_missing on the result therefore
does nothing.
This commit is contained in:
Alexander van Gessel 2012-11-14 03:08:42 +01:00
parent 59ea3066a8
commit 5ba9d8b495

View file

@ -36,7 +36,6 @@ static std::string get_persist_cfg_name(const std::string &name_space) {
void persist_file_context::load() {
std::string cfg_dir = get_dir(get_user_data_dir() + "/persist");
create_directory_if_missing(cfg_dir);
std::string cfg_name = get_persist_cfg_name(namespace_.root_);
if (file_exists(cfg_name) && !is_directory(cfg_name)) {