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:
Chris Peterson 2015-11-22 22:09:23 -08:00
parent 3a7bf4e682
commit dc80f8f228

View File

@ -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