summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/getdate.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/getdate.y b/lib/getdate.y
index 1d5690423..ff0aa66a3 100644
--- a/lib/getdate.y
+++ b/lib/getdate.y
@@ -627,6 +627,8 @@ ToSeconds(Hours, Minutes, Seconds, Meridian)
if (Hours < 1 || Hours > 12)
return -1;
return ((Hours + 12) * 60L + Minutes) * 60L + Seconds;
+ default:
+ abort ();
}
/* NOTREACHED */
}