Initialize variables in r_core_anal_type_match (#17834)

Co-authored-by: pancake <pancake@nopcode.org>
This commit is contained in:
pancake 2020-10-28 03:59:01 +01:00 committed by GitHub
parent cb3d90c6de
commit 6db4dcb55a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -471,8 +471,8 @@ R_API void r_core_anal_type_match(RCore *core, RAnalFunction *fcn) {
if (!hc) {
return;
}
RDebugTrace *dt;
RAnalEsilTrace *et;
RDebugTrace *dt = NULL;
RAnalEsilTrace *et = NULL;
if (!anal_emul_init (core, hc, &dt, &et) || !fcn) {
anal_emul_restore (core, hc, dt, et);
return;