Silence some MSVC warnings

What does this implement/fix?

Silence two warnings in construct_elements_of_array()

  • C4701: potentially uninitialized local variable 'i' used (in catch handler)
  • C4702: unreachable code (return NULL)

I have been running these mods locally for a while on vs2017, 2019 and now 2022. Has not caused me issues.

However, I have not run tests or compiled on other platforms.

Merge request reports

Loading