summaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-05-18 11:22:22 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-05-18 11:22:22 +0200
commit4cd2fd36d5c8c92fd9c84af52c5cb2bd7ef0e4d6 (patch)
tree881665f969fc60a6753716496a230a59200ac379 /src/utils.c
parent411b8078b9afa398e10cec1892b2eb4f7d8dff23 (diff)
downloadcalcurse-4cd2fd36d5c8c92fd9c84af52c5cb2bd7ef0e4d6.zip
Add default cases to some switch statements
This squelches several compiler warnings. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c
index 0bcd9db..02839c3 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -867,6 +867,8 @@ int parse_duration(const char *string, unsigned *duration)
case STATE_HHMM_MM:
return 0;
break;
+ default:
+ break;
}
in = 0;