all repos — mgba @ 06d89aee48c7b985f95e49185bbf2eef99ace94e

mGBA Game Boy Advance Emulator

Python: Fix uninitialized variable
Vicki Pfau vi@endrift.com
Wed, 31 May 2017 17:01:50 -0700
commit

06d89aee48c7b985f95e49185bbf2eef99ace94e

parent

6fe1f44351b82f85210260ab2425f8aaecb774a4

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/platform/python/log.csrc/platform/python/log.c

@@ -22,6 +22,7 @@

struct mLogger* mLoggerPythonCreate(void* pyobj) { struct mLoggerPy* logger = malloc(sizeof(*logger)); logger->d.log = _pyLogShim; + logger->d.filter = NULL; logger->pyobj = pyobj; return &logger->d; }