Dan Hipschman : widl: Remove dead code in write_msft.c.

Alexandre Julliard julliard at wine.codeweavers.com
Thu May 10 07:50:00 CDT 2007


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

Author: Dan Hipschman <dsh at linux.ucla.edu>
Date:   Wed May  9 20:49:06 2007 -0700

widl: Remove dead code in write_msft.c.

---

 tools/widl/write_msft.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/tools/widl/write_msft.c b/tools/widl/write_msft.c
index 54affd9..439d7be 100644
--- a/tools/widl/write_msft.c
+++ b/tools/widl/write_msft.c
@@ -1157,14 +1157,6 @@ static int encode_var(
 
     vt = get_type_vt(var->type);
     type = var->type;
-    while(!vt) {
-        if(type->ref == NULL) {
-            vt = VT_VOID;
-            break;
-        }
-        type = type->ref;
-        vt = get_type_vt(type);
-    }
     encode_type(typelib, vt, type, encoded_type, width, alignment, decoded_size);
     if(type->type == RPC_FC_IP) return 2;
     return 0;




More information about the wine-cvs mailing list