summaryrefslogtreecommitdiff
path: root/src/error.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.cc')
-rw-r--r--src/error.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/error.cc b/src/error.cc
index 8fc8fa53..68a2d844 100644
--- a/src/error.cc
+++ b/src/error.cc
@@ -75,10 +75,4 @@ string line_context(const string& line,
return buf.str();
}
-void report_error(const std::exception& err)
-{
- std::cerr << error_context() << std::endl
- << "Error: " << err.what() << std::endl;
-}
-
} // namespace ledger