summaryrefslogtreecommitdiff
path: root/onlineupdate/source
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-09-13 20:44:42 +0200
committerMichael Stahl <mstahl@redhat.com>2017-09-13 20:55:56 +0200
commit7af14994b58e8d81cb6bdfc5ffd444f564d4355b (patch)
treef0d8f730e2340aac4bdd3ea3cb65a8b55d960a8e /onlineupdate/source
parent1a2b33348e53a4c3262494cfc5bfa7cbd1bb4e36 (diff)
onlineupdate: work around GCC7 -Werror=implicit-fallthrough
This is pretty stupid, but oh well... Change-Id: I1e605b2858a917f61922df757809a2aceb14a914
Diffstat (limited to 'onlineupdate/source')
-rw-r--r--onlineupdate/source/libmar/tool/mar.c1
-rw-r--r--onlineupdate/source/update/updater/updater.cxx2
2 files changed, 2 insertions, 1 deletions
diff --git a/onlineupdate/source/libmar/tool/mar.c b/onlineupdate/source/libmar/tool/mar.c
index d67935bd559d..3db3bb86e431 100644
--- a/onlineupdate/source/libmar/tool/mar.c
+++ b/onlineupdate/source/libmar/tool/mar.c
@@ -327,6 +327,7 @@ int main(int argc, char **argv) {
printf("\n");
/* The fall through from 'T' to 't' is intentional */
}
+ /* Fall through */
case 't':
return mar_test(argv[2]);
diff --git a/onlineupdate/source/update/updater/updater.cxx b/onlineupdate/source/update/updater/updater.cxx
index 1509d570ba23..53bdc71fbd22 100644
--- a/onlineupdate/source/update/updater/updater.cxx
+++ b/onlineupdate/source/update/updater/updater.cxx
@@ -4234,7 +4234,7 @@ int add_dir_entries(const NS_tchar *dirpath, ActionList *list)
case FTS_DEFAULT:
LOG(("add_dir_entries: found a non-standard file: " LOG_S,
ftsdirEntry->fts_path));
- // Fall through and try to remove as a file
+ /* Fall through */ // and try to remove as a file
// Files
case FTS_F: