small fix for Cobalt

Dirk Hohndel dirk at hohndel.org
Sat Nov 8 16:09:30 PST 2014


This seems like a fairly obvious fix, even though I don't have a Cobalt
anymore to test it...

/D

-------------- next part --------------
>From 30446f105da63b1f54eeceb8b1291b64dc8222ac Mon Sep 17 00:00:00 2001
From: Dirk Hohndel <dirk at hohndel.org>
Date: Sat, 8 Nov 2014 16:07:36 -0800
Subject: [PATCH] Add missing break in Cobalt support for divemode

Signed-off-by: Dirk Hohndel <dirk at hohndel.org>
---
 src/atomics_cobalt_parser.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/atomics_cobalt_parser.c b/src/atomics_cobalt_parser.c
index ce1710064ae5..59704b5b05b9 100644
--- a/src/atomics_cobalt_parser.c
+++ b/src/atomics_cobalt_parser.c
@@ -215,6 +215,7 @@ atomics_cobalt_parser_get_field (dc_parser_t *abstract, dc_field_type_t type, un
 			default:
 				return DC_STATUS_DATAFORMAT;
 			}
+			break;
 		default:
 			return DC_STATUS_UNSUPPORTED;
 		}
-- 
1.8.0.rc0.18.gf84667d



More information about the devel mailing list