mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1235237 - Annotate intentional switch fallthrough to suppress -Wimplicit-fallthrough warning in storage/. r=mak
storage/mozStoragePrivateHelpers.cpp:234:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
This commit is contained in:
parent
3a7bf4e682
commit
dc80f8f228
@ -230,6 +230,7 @@ convertVariantToStorageVariant(nsIVariant* aVariant)
|
||||
// Take ownership of the data avoiding a further copy.
|
||||
return new AdoptedBlobVariant(v);
|
||||
}
|
||||
MOZ_FALLTHROUGH;
|
||||
}
|
||||
case nsIDataType::VTYPE_EMPTY:
|
||||
case nsIDataType::VTYPE_EMPTY_ARRAY:
|
||||
@ -244,7 +245,6 @@ convertVariantToStorageVariant(nsIVariant* aVariant)
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
|
||||
}
|
||||
|
||||
namespace {
|
||||
@ -273,7 +273,5 @@ newCompletionEvent(mozIStorageCompletionCallback *aCallback)
|
||||
return event.forget();
|
||||
}
|
||||
|
||||
|
||||
|
||||
} // namespace storage
|
||||
} // namespace mozilla
|
||||
|
Loading…
Reference in New Issue
Block a user