[mini] Fix Coverity CID 1455161 & 1455162 (#17615)
commit93b97d5582cf89d20f2deff9f6232402c30ce3bc
authorBernhard Urban-Forster <lewurm@gmail.com>
Tue, 5 Nov 2019 18:09:32 +0000 (5 19:09 +0100)
committerGitHub <noreply@github.com>
Tue, 5 Nov 2019 18:09:32 +0000 (5 19:09 +0100)
tree0fb103562d293d9f2786f842fff5605c21329b43
parent6f73c2dab8b19237800f9150fac6368d15220f5b
[mini] Fix Coverity CID 1455161 & 1455162 (#17615)

* [mini] Fix Coverity CID 1455161 & 1455162

> Null-checking "ji" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.

* do not rely on assert to guard ji-nullness.  refactor a bit
mono/mini/trace.c