Remove call to SetMiscWarning in util.cpp

For some reason, this fails while linking dash-cli.
I tried to add LIBBITCOIN_COMMON to dash-cli, but with no luck.
Removing the call for now, has to be fixed later.
This commit is contained in:
Alexander Block 2017-09-21 13:42:49 +02:00
parent dcc9dffae9
commit 504fecfe63

View File

@ -592,7 +592,8 @@ const boost::filesystem::path &GetBackupsDir()
if (fs::is_directory(backupsDir)) return backupsDir;
// Fallback to default path if it doesn't
LogPrintf("%s: Warning: incorrect parameter -walletbackupsdir, path must exist! Using default path.\n", __func__);
SetMiscWarning(_("Warning: incorrect parameter -walletbackupsdir, path must exist! Using default path."));
// TODO this causes link errors for dash-cli. I tried to add LIBBITCOIN_COMMON to dash-cli, but with no luck
//SetMiscWarning(_("Warning: incorrect parameter -walletbackupsdir, path must exist! Using default path."));
}
// Default path
backupsDir = GetDataDir() / "backups";