Huw Davies : oleaut32: Remove useless initialization of an [out]
parameter.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Apr 30 07:11:15 CDT 2007
Module: wine
Branch: master
Commit: c4c5d64ccf5e3fd0ec3682126edd45ff3f019134
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c4c5d64ccf5e3fd0ec3682126edd45ff3f019134
Author: Huw Davies <huw at codeweavers.com>
Date: Fri Apr 27 12:01:22 2007 +0100
oleaut32: Remove useless initialization of an [out] parameter.
---
dlls/oleaut32/tmarshal.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/dlls/oleaut32/tmarshal.c b/dlls/oleaut32/tmarshal.c
index 7d0637e..3783aca 100644
--- a/dlls/oleaut32/tmarshal.c
+++ b/dlls/oleaut32/tmarshal.c
@@ -286,14 +286,12 @@ _get_typeinfo_for_iid(REFIID riid, ITypeInfo**ti) {
ERR("No %s key found.\n",interfacekey);
return E_FAIL;
}
- type = (1<<REG_SZ);
tlguidlen = sizeof(tlguid);
if (RegQueryValueExA(ikey,NULL,NULL,&type,(LPBYTE)tlguid,&tlguidlen)) {
ERR("Getting typelib guid failed.\n");
RegCloseKey(ikey);
return E_FAIL;
}
- type = (1<<REG_SZ);
verlen = sizeof(ver);
if (RegQueryValueExA(ikey,"Version",NULL,&type,(LPBYTE)ver,&verlen)) {
ERR("Could not get version value?\n");
More information about the wine-cvs
mailing list