Kaydet (Commit) 7af14994 authored tarafından Michael Stahl's avatar Michael Stahl

onlineupdate: work around GCC7 -Werror=implicit-fallthrough

This is pretty stupid, but oh well...

Change-Id: I1e605b2858a917f61922df757809a2aceb14a914
üst 1a2b3334
...@@ -327,6 +327,7 @@ int main(int argc, char **argv) { ...@@ -327,6 +327,7 @@ int main(int argc, char **argv) {
printf("\n"); printf("\n");
/* The fall through from 'T' to 't' is intentional */ /* The fall through from 'T' to 't' is intentional */
} }
/* Fall through */
case 't': case 't':
return mar_test(argv[2]); return mar_test(argv[2]);
......
...@@ -4234,7 +4234,7 @@ int add_dir_entries(const NS_tchar *dirpath, ActionList *list) ...@@ -4234,7 +4234,7 @@ int add_dir_entries(const NS_tchar *dirpath, ActionList *list)
case FTS_DEFAULT: case FTS_DEFAULT:
LOG(("add_dir_entries: found a non-standard file: " LOG_S, LOG(("add_dir_entries: found a non-standard file: " LOG_S,
ftsdirEntry->fts_path)); ftsdirEntry->fts_path));
// Fall through and try to remove as a file /* Fall through */ // and try to remove as a file
// Files // Files
case FTS_F: case FTS_F:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment