[debugger] remove extraneous ErrorCode declaration (mono/mono#16862)
authorRyan Lucia <rylucia@microsoft.com>
Mon, 16 Sep 2019 21:14:42 +0000 (17:14 -0400)
committerZoltan Varga <vargaz@gmail.com>
Mon, 16 Sep 2019 21:14:42 +0000 (17:14 -0400)
commit8e04cf0715d6b593c19c3643c9c9aa3e0acc780f
treee1ba14e651239ac482f9763bfd0856d3b9ae26a5
parent07341b50bc6c6455c4ed82ae782aece4de0b3912
[debugger] remove extraneous ErrorCode declaration (mono/mono#16862)

With the single point of exit, this means the main ErrorCode isn't being written to and uninitialized memory is returned.

Commit migrated from https://github.com/mono/mono/commit/a23da4b8b33aa6929e2f82303d5a390b0cc5c422
src/mono/mono/mini/debugger-agent.c