[metadata] Compiler warnings fixes. (#10893)
commitd3af6d44ff0809e68a9cb98e5c5452a36bc2065f
authorNikolay Sivov <bunglehead@gmail.com>
Tue, 30 Oct 2018 15:14:54 +0000 (30 18:14 +0300)
committerAleksey Kliger (λgeek) <akliger@gmail.com>
Tue, 30 Oct 2018 15:14:54 +0000 (30 10:14 -0500)
tree251ecd0dd3e834b1d7aa631e73f101f2e8674703
parent36c27a2328b8b40932ef6f7f4fa5a98d88aec540
[metadata] Compiler warnings fixes. (#10893)

* [metadata] Fix strict prototype warning.

* [metadata] Remove unused variable.

* [metadata] Fix unused function warning.

* [metadata] Fix unused function warning for swap_with_size().

* [metadata] Fix "may be uninitialized" warnings.

* [metadata] Simplify missing ICustomMarshaler exception throwing case.

With current code there is no reason to have explicit jump label.
mono/metadata/marshal-ilgen.c
mono/metadata/sre-encode.c