From da8e6f9985a559d29f01909c4497bb03a9b20ec1 Mon Sep 17 00:00:00 2001 From: clay_shooter Date: Mon, 2 Jan 2006 16:30:08 +0000 Subject: [PATCH] sourceforge patch 1394001 -- missing initialization --- docs/ReleaseNotes.html | 4 ++++ jni/EventProxy.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html index a5bfd90..4856bc5 100644 --- a/docs/ReleaseNotes.html +++ b/docs/ReleaseNotes.html @@ -53,6 +53,10 @@ Patches + 1394001 + + 1394001 + Missing variable initialization (pre3) 1208570 diff --git a/jni/EventProxy.cpp b/jni/EventProxy.cpp index c343729..cf91f61 100644 --- a/jni/EventProxy.cpp +++ b/jni/EventProxy.cpp @@ -104,7 +104,7 @@ STDMETHODIMP EventProxy::Invoke(DISPID dispID, REFIID riid, //Visual C++ 6.0 recognized this as an unused variable //HRESULT hr; - const char *eventMethodName; + const char *eventMethodName = NULL; //Sourceforge report 1394001 JNIEnv *env = NULL; // map dispID to jmethodID