Chris Robinson : quartz: Initialize a pointer to NULL for the case of no enumerated filters.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Feb 20 05:25:15 CST 2007


Module: wine
Branch: master
Commit: 4284c504abe3fcf8c0ecd0febc89251fba77b12c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4284c504abe3fcf8c0ecd0febc89251fba77b12c

Author: Chris Robinson <chris.kcat at gmail.com>
Date:   Mon Feb 19 17:33:19 2007 -0800

quartz: Initialize a pointer to NULL for the case of no enumerated filters.

---

 dlls/quartz/filtergraph.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c
index fca3299..b894781 100644
--- a/dlls/quartz/filtergraph.c
+++ b/dlls/quartz/filtergraph.c
@@ -963,7 +963,7 @@ static HRESULT WINAPI GraphBuilder_RenderFile(IGraphBuilder *iface,
     ICOM_THIS_MULTI(IFilterGraphImpl, IGraphBuilder_vtbl, iface);
     static const WCHAR string[] = {'R','e','a','d','e','r',0};
     IBaseFilter* preader = NULL;
-    IBaseFilter* psplitter;
+    IBaseFilter* psplitter = NULL;
     IPin* ppinreader;
     IPin* ppinsplitter;
     IEnumPins* penumpins;




More information about the wine-cvs mailing list