From 640119d69947b9e50f99715345a2e0903e4ab81a Mon Sep 17 00:00:00 2001 From: daniel-Jones Date: Fri, 21 Sep 2018 10:44:22 +0930 Subject: sane default case --- binstatus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binstatus.c b/binstatus.c index 3881e6c..8967fa7 100644 --- a/binstatus.c +++ b/binstatus.c @@ -74,7 +74,7 @@ converthour(int hour) case 21: return 10; case 22: return 11; case 23: return 12; - default: return 0; + default: return hour; } } -- cgit v1.2.3