summaryrefslogtreecommitdiff
path: root/config.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-17 04:57:38 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-17 04:57:38 -0400
commit325cf53ea74f7a7fe51fc30103594a3a92989f37 (patch)
tree4fe4cd9a0a943a6bd7c39c9487bdd0b592c954cd /config.cc
parent9e235d04a1aa9d38fa6f1503902873d2f7ad8419 (diff)
downloadfork-ledger-325cf53ea74f7a7fe51fc30103594a3a92989f37.tar.gz
fork-ledger-325cf53ea74f7a7fe51fc30103594a3a92989f37.tar.bz2
fork-ledger-325cf53ea74f7a7fe51fc30103594a3a92989f37.zip
several significant speed improvements (removed excessive copying of strings)
Diffstat (limited to 'config.cc')
-rw-r--r--config.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/config.cc b/config.cc
index 06e6f4a7..99c4d4b4 100644
--- a/config.cc
+++ b/config.cc
@@ -20,8 +20,6 @@ config_t::config_t()
{
if (const char * p = std::getenv("HOME"))
init_file = cache_file = price_db = p;
- else
- init_file = cache_file = price_db = "";
init_file += "/.ledgerrc";
cache_file += "/.ledger";