[coop] Cleanup mono_reflection_get_custom_attrs_blob_checked. (mono/mono#16535)
authorJay Krell <jaykrell@microsoft.com>
Thu, 29 Aug 2019 08:23:20 +0000 (01:23 -0700)
committerZoltan Varga <vargaz@gmail.com>
Thu, 29 Aug 2019 08:23:20 +0000 (04:23 -0400)
commita861127c4dc56bf092f1317e0c14ff119c83f6fc
treeb62533c803fa063c5214735920f9a9b1ca55d897
parentedbb9b3f62b16480a51fff1716e77693dc88171c
[coop] Cleanup mono_reflection_get_custom_attrs_blob_checked. (mono/mono#16535)

- single point of exit
 - local variable cheaper than strcmp

Commit migrated from https://github.com/mono/mono/commit/2f2d9541e593ed6976b32bde80a5f47b25ff9148
src/mono/mono/metadata/sre.c