Robert Shearman : widl: Remove unused 'rname' field of type_t.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Feb 7 06:05:56 CST 2006


Module: wine
Branch: refs/heads/master
Commit: e9ec85a01ac23267c1463a74997ff64c47fb96ed
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=e9ec85a01ac23267c1463a74997ff64c47fb96ed

Author: Robert Shearman <rob at codeweavers.com>
Date:   Tue Feb  7 12:32:42 2006 +0100

widl: Remove unused 'rname' field of type_t.

---

 tools/widl/parser.y     |    1 -
 tools/widl/widltypes.h  |    1 -
 tools/widl/write_msft.c |    2 +-
 3 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/tools/widl/parser.y b/tools/widl/parser.y
index 499f0f4..ca890f4 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -1016,7 +1016,6 @@ static type_t *make_type(unsigned char t
   t->name = NULL;
   t->type = type;
   t->ref = ref;
-  t->rname = NULL;
   t->attrs = NULL;
   t->funcs = NULL;
   t->fields = NULL;
diff --git a/tools/widl/widltypes.h b/tools/widl/widltypes.h
index 36d4aad..c578da7 100644
--- a/tools/widl/widltypes.h
+++ b/tools/widl/widltypes.h
@@ -183,7 +183,6 @@ struct _type_t {
   char *name;
   unsigned char type;
   struct _type_t *ref;
-  char *rname;
   attr_t *attrs;
   func_t *funcs;
   var_t *fields;
diff --git a/tools/widl/write_msft.c b/tools/widl/write_msft.c
index a9b9f34..219e9c2 100644
--- a/tools/widl/write_msft.c
+++ b/tools/widl/write_msft.c
@@ -947,7 +947,7 @@ static int encode_type(
 
 static void dump_type(type_t *t)
 {
-    chat("dump_type: %p name %s type %d ref %p rname %s attrs %p\n", t, t->name, t->type, t->ref, t->rname, t->attrs);
+    chat("dump_type: %p name %s type %d ref %p attrs %p\n", t, t->name, t->type, t->ref, t->attrs);
     if(t->ref) dump_type(t->ref);
 }
 




More information about the wine-cvs mailing list