[PATCH] vbscript: Remove unused field.

Gabriel Ivăncescu gabrielopcode at gmail.com
Tue Dec 10 07:41:41 CST 2019


Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
---
 dlls/vbscript/compile.c  | 3 ---
 dlls/vbscript/vbscript.h | 1 -
 2 files changed, 4 deletions(-)

diff --git a/dlls/vbscript/compile.c b/dlls/vbscript/compile.c
index d8ae0fc..c76ba73 100644
--- a/dlls/vbscript/compile.c
+++ b/dlls/vbscript/compile.c
@@ -1980,9 +1980,6 @@ HRESULT compile_procedure(script_ctx_t *script, const WCHAR *src, const WCHAR *d
     desc->func_cnt = 1;
     desc->funcs->entries[VBDISP_CALLGET] = &code->main_code;
 
-    desc->next = script->script_obj->procs;
-    script->script_obj->procs = desc;
-
     *ret = desc;
     return S_OK;
 }
diff --git a/dlls/vbscript/vbscript.h b/dlls/vbscript/vbscript.h
index d79be9e..19431e2 100644
--- a/dlls/vbscript/vbscript.h
+++ b/dlls/vbscript/vbscript.h
@@ -141,7 +141,6 @@ typedef struct {
     size_t global_funcs_size;
 
     class_desc_t *classes;
-    class_desc_t *procs;
 
     script_ctx_t *ctx;
     heap_pool_t heap;
-- 
2.21.0




More information about the wine-devel mailing list