Database: Removed unused ::location

This commit is contained in:
Paul Beckingham 2016-03-20 11:01:18 -04:00
parent 2906408a8d
commit 175f0d63f4
3 changed files with 1 additions and 8 deletions

View file

@ -59,12 +59,6 @@ void Database::initialize (const std::string& location)
// TODO If there is no data file named YYYY—MM.data, then create it.
}
////////////////////////////////////////////////////////////////////////////////
std::string Database::location () const
{
return _location;
}
////////////////////////////////////////////////////////////////////////////////
std::string Database::dump () const
{

View file

@ -36,7 +36,6 @@ class Database
public:
Database () = default;
void initialize (const std::string&);
std::string location () const;
std::string dump () const;
private:

View file

@ -132,7 +132,7 @@ int CmdDiagnostics (Rules& rules, Database& database, Extensions& extensions, Lo
<< "\n";
out << " Database: "
<< database.location ()
<< rules.get ("db") << "/data"
<< "\n";
// Determine rc.editor/$EDITOR/$VISUAL.