summaryrefslogtreecommitdiff
path: root/src/precmd.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/precmd.cc')
-rw-r--r--src/precmd.cc19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/precmd.cc b/src/precmd.cc
index 16b7e5f1..5ec6c7c6 100644
--- a/src/precmd.cc
+++ b/src/precmd.cc
@@ -34,25 +34,6 @@
namespace ledger {
-namespace {
- string join_args(call_scope_t& args)
- {
- std::ostringstream buf;
- bool first = true;
-
- for (std::size_t i = 0; i < args.size(); i++) {
- if (first) {
- buf << args[i];
- first = false;
- } else {
- buf << ' ' << args[i];
- }
- }
-
- return buf.str();
- }
-}
-
value_t parse_command(call_scope_t& args)
{
string arg = join_args(args);