commit 44e8f6121e6f67591d04f247d05662e83cb8370f
parent 7ea0f82da8cb23cbea1276374ad69856d485172e
Author: Natasha Kerensikova <natacha@instinctive.eu>
Date: Wed, 1 Jun 2016 18:23:21 +0000
Remove duplicate case block
Not sure how it got there, probably a merge or a patch too many.
Diffstat:
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/src/battery-minus.c b/src/battery-minus.c
@@ -281,7 +281,7 @@ inbox_received_handler(DictionaryIterator *iterator, void *context) {
break;
case MSG_KEY_LAST_POSTED:
- if (tuple_int(tuple) ==upload_last_key
+ if (tuple_int(tuple) == upload_last_key
&& launch_reason() == APP_LAUNCH_WAKEUP) {
close_app();
}
@@ -293,13 +293,6 @@ inbox_received_handler(DictionaryIterator *iterator, void *context) {
cfg_wakeup_time + 1);
break;
- case MSG_KEY_LAST_POSTED:
- if (tuple_int(tuple) == upload_last_key
- && launch_reason() == APP_LAUNCH_WAKEUP) {
- close_app();
- }
- break;
-
default:
APP_LOG(APP_LOG_LEVEL_ERROR,
"Unknown key %" PRIu32 " in received message",