mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1236389 - Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in mozapps/update. r=rstrong
toolkit/mozapps/update/updater/updater.cpp:3722:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels toolkit/mozapps/update/updater/updater.cpp:3768:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
This commit is contained in:
parent
8c9c735d23
commit
a4cd491fb7
@ -3721,6 +3721,7 @@ int add_dir_entries(const NS_tchar *dirpath, ActionList *list)
|
||||
LOG(("add_dir_entries: found a non-standard file: " LOG_S,
|
||||
ftsdirEntry->fts_path));
|
||||
// Fall through and try to remove as a file
|
||||
MOZ_FALLTHROUGH;
|
||||
|
||||
// Files
|
||||
case FTS_F:
|
||||
@ -3767,7 +3768,7 @@ int add_dir_entries(const NS_tchar *dirpath, ActionList *list)
|
||||
rv = OK;
|
||||
break;
|
||||
}
|
||||
// Fall through
|
||||
MOZ_FALLTHROUGH;
|
||||
|
||||
case FTS_ERR:
|
||||
rv = UNEXPECTED_FILE_OPERATION_ERROR;
|
||||
|
Loading…
Reference in New Issue
Block a user