summaryrefslogtreecommitdiff
path: root/src/times.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/times.h')
-rw-r--r--src/times.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/times.h b/src/times.h
index fed47ae3..39945824 100644
--- a/src/times.h
+++ b/src/times.h
@@ -217,8 +217,6 @@ struct date_duration_t
return date + gregorian::months(length * 3);
case YEARS:
return date + gregorian::years(length);
- default:
- assert(false); return date_t();
}
}
@@ -234,8 +232,6 @@ struct date_duration_t
return date - gregorian::months(length * 3);
case YEARS:
return date - gregorian::years(length);
- default:
- assert(false); return date_t();
}
}
@@ -250,9 +246,6 @@ struct date_duration_t
case MONTHS: out << "month"; break;
case QUARTERS: out << "quarter"; break;
case YEARS: out << "year"; break;
- default:
- assert(false);
- break;
}
if (length > 1)