Zebediah Figura : devenum: Zero-initialize REGFILTERPINS struct.

Alexandre Julliard julliard at winehq.org
Thu Oct 4 17:14:43 CDT 2018


Module: wine
Branch: master
Commit: cea76150385b0d3e380fdd4e0d6ab8042bb48989
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=cea76150385b0d3e380fdd4e0d6ab8042bb48989

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Wed Oct  3 22:41:02 2018 -0500

devenum: Zero-initialize REGFILTERPINS struct.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45923
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/devenum/createdevenum.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/devenum/createdevenum.c b/dlls/devenum/createdevenum.c
index e44e6ec..8a3160c 100644
--- a/dlls/devenum/createdevenum.c
+++ b/dlls/devenum/createdevenum.c
@@ -778,7 +778,7 @@ static void register_avicap_devices(void)
     WCHAR friendlyname[] = {'v','i','d','e','o','0',0};
     IPropertyBag *prop_bag = NULL;
     WCHAR name[32], version[32];
-    REGFILTERPINS2 rgpins;
+    REGFILTERPINS2 rgpins = {0};
     REGPINTYPES rgtypes;
     REGFILTER2 rgf;
     VARIANT var;




More information about the wine-cvs mailing list