summaryrefslogtreecommitdiff
path: root/parser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'parser.cc')
-rw-r--r--parser.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/parser.cc b/parser.cc
index 5c54d6f2..dd5d081d 100644
--- a/parser.cc
+++ b/parser.cc
@@ -114,17 +114,6 @@ unsigned int parse_ledger_data(config_t& config,
DEBUG_PRINT("ledger.config.cache",
"3. use_cache = " << config.use_cache);
- if (! config.init_file.empty() &&
- access(config.init_file.c_str(), R_OK) != -1) {
- if (parse_journal_file(config.init_file, config, journal) ||
- journal->auto_entries.size() > 0 ||
- journal->period_entries.size() > 0)
- throw new error(std::string("Entries found in initialization file '") +
- config.init_file + "'");
-
- journal->sources.pop_front(); // remove init file
- }
-
if (config.use_cache && ! config.cache_file.empty() &&
config.cache_file != "<none>" && ! config.data_file.empty()) {
DEBUG_PRINT("ledger.config.cache",