[cfe/ffi] Remove dead code

TEST=tests/ffi

Change-Id: Idf2a81d186393aa507ef66c162cd9f080b9b534d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/201404
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
This commit is contained in:
Daco Harkes 2021-05-26 15:29:00 +00:00 committed by commit-bot@chromium.org
parent 784812418c
commit 939960ca0c

View file

@ -568,7 +568,6 @@ class _FfiDefinitionTransformer extends FfiTransformer {
final sizeAnnotations = _getArraySizeAnnotations(m).toList();
if (sizeAnnotations.length == 1) {
final arrayDimensions = sizeAnnotations.single;
arrayDimensions.length;
if (this.arrayDimensions(dartType) == arrayDimensions.length) {
type = NativeTypeCfe(this, dartType,
compoundCache: compoundCache, arrayDimensions: arrayDimensions);