From 2986bc779e055fe8bd3511994c539d65d3a7aa57 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 13 Nov 2009 01:48:32 -0500 Subject: Stylistic change: assert(0) -> assert(false) --- src/times.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/times.cc') 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; } } -- cgit v1.2.3