Hi, This is a smaller issue. Please see attached patches.
All the best, Marcos
From b4cd8716513a6448a84f144b76c33095b1aa0513 Mon Sep 17 00:00:00 2001 From: Marcos CARDINOT <[email protected]> Date: Sun, 22 Mar 2015 22:53:16 -0300 Subject: [PATCH] load-git::walk_tree_file - missing break in switch Simple control flow issue. Signed-off-by: Marcos CARDINOT <[email protected]> --- load-git.c | 1 + 1 file changed, 1 insertion(+) diff --git a/load-git.c b/load-git.c index be25e8e..d8052a5 100644 --- a/load-git.c +++ b/load-git.c @@ -1460,6 +1460,7 @@ static int walk_tree_file(const char *root, const git_tree_entry *entry, git_rep case 'S': if (!strncmp(name, "Site", 4)) return parse_site_entry(repo, entry, name + 5); + break; case '0': if (trip && !strcmp(name, "00-Trip")) return parse_trip_entry(repo, entry); -- 1.9.1
From 11ce515f211a18d330ebe3f2b5a4a2f46df52aac Mon Sep 17 00:00:00 2001 From: Marcos CARDINOT <[email protected]> Date: Sun, 22 Mar 2015 21:35:34 -0300 Subject: [PATCH] File.c - Missing break in switch Simple control flow issue. Missing break in switch. Signed-off-by: Marcos CARDINOT <[email protected]> --- file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/file.c b/file.c index cf25705..5a859ab 100644 --- a/file.c +++ b/file.c @@ -652,6 +652,7 @@ int parse_txt_file(const char *filename, const char *csv) QT_TRANSLATE_NOOP("gettextFromC", "Mouth piece position not connected")); break; } + break; case 3: //Power Off event add_event(dc, cur_sampletime, 0, 0, 0, -- 1.9.1
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
