summaryrefslogtreecommitdiff
path: root/src/times.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-13 13:41:54 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-13 13:41:54 -0500
commit73baf9cd727407f6e47b410bbde3b4bcad482ae3 (patch)
tree71a93ea1eaf17901ebf89fe0556e87ab7ec6db50 /src/times.cc
parentef3adb5fe0b91cfd7d74eab7275356aa49de7120 (diff)
parent2986bc779e055fe8bd3511994c539d65d3a7aa57 (diff)
downloadfork-ledger-73baf9cd727407f6e47b410bbde3b4bcad482ae3.tar.gz
fork-ledger-73baf9cd727407f6e47b410bbde3b4bcad482ae3.tar.bz2
fork-ledger-73baf9cd727407f6e47b410bbde3b4bcad482ae3.zip
Merge branch 'next'
Diffstat (limited to 'src/times.cc')
-rw-r--r--src/times.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/times.cc b/src/times.cc
index b737b2a0..6afbab0a 100644
--- a/src/times.cc
+++ b/src/times.cc
@@ -789,8 +789,8 @@ std::string format_datetime(const datetime_t& when,
return printed_datetime_io->format(when);
}
else {
- assert(0);
- return "";
+ assert(false);
+ return empty_string;
}
}
@@ -815,8 +815,8 @@ std::string format_date(const date_t& when,
return printed_date_io->format(when);
}
else {
- assert(0);
- return "";
+ assert(false);
+ return empty_string;
}
}