Marcus Meissner : oleview: Removed dead code (Coverity).

Alexandre Julliard julliard at wine.codeweavers.com
Tue Feb 6 08:03:38 CST 2007


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

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Mon Feb  5 21:06:33 2007 +0100

oleview: Removed dead code (Coverity).

---

 programs/oleview/typelib.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/programs/oleview/typelib.c b/programs/oleview/typelib.c
index 7205d1c..64e3084 100644
--- a/programs/oleview/typelib.c
+++ b/programs/oleview/typelib.c
@@ -829,12 +829,7 @@ void CreateTypedefHeader(ITypeInfo *pTyp
     AddToTLDataStrW(pTLData, wszTypedef);
     if(memcmp(&pTypeAttr->guid, &GUID_NULL, sizeof(GUID)))
     {
-        if(bFirst) AddToTLDataStrW(pTLData, wszOpenBrackets1);
-        else
-        {
-            AddToTLDataStrW(pTLData, wszComa);
-            AddToTLDataStrW(pTLData, wszSpace);
-        }
+        AddToTLDataStrW(pTLData, wszOpenBrackets1);
         bFirst = FALSE;
         AddToTLDataStrW(pTLData, wszUUID);
         AddToTLDataStrW(pTLData, wszOpenBrackets2);




More information about the wine-cvs mailing list