tint/resolver: Remove duplicate nullptr check
Change-Id: If4226d5427c2be270701b7b8d29e9f2ba5aa5ed5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/129500 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
parent
759238b962
commit
72d1ea4ac2
|
@ -2586,9 +2586,6 @@ type::Type* Resolver::BuiltinType(builtin::Builtin builtin_ty, const ast::Identi
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (TINT_UNLIKELY(!el_ty)) {
|
|
||||||
return nullptr;
|
|
||||||
}
|
|
||||||
if (TINT_UNLIKELY(!validator_.Vector(el_ty, ident->source))) {
|
if (TINT_UNLIKELY(!validator_.Vector(el_ty, ident->source))) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue