diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-05-18 11:22:22 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-05-18 11:22:22 +0200 |
commit | 4cd2fd36d5c8c92fd9c84af52c5cb2bd7ef0e4d6 (patch) | |
tree | 881665f969fc60a6753716496a230a59200ac379 /src/utils.c | |
parent | 411b8078b9afa398e10cec1892b2eb4f7d8dff23 (diff) | |
download | calcurse-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.c | 2 |
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; |