Explorar o código

ncd: NCDModule: remove unused structure member

ambrop7 %!s(int64=14) %!d(string=hai) anos
pai
achega
a477bff51f
Modificáronse 2 ficheiros con 0 adicións e 2 borrados
  1. 0 1
      ncd/NCDModule.c
  2. 0 1
      ncd/NCDModule.h

+ 0 - 1
ncd/NCDModule.c

@@ -475,7 +475,6 @@ int NCDModuleProcess_Init (NCDModuleProcess *o, NCDModuleInst *n, const char *te
     ASSERT(handler_event)
     
     // init arguments
-    o->n = n;
     o->args = args;
     o->user = user;
     o->handler_event = handler_event;

+ 0 - 1
ncd/NCDModule.h

@@ -288,7 +288,6 @@ typedef struct NCDModuleInst_s {
  * instance, implemented by the interpreter.
  */
 typedef struct NCDModuleProcess_s {
-    NCDModuleInst *n;
     NCDValue args;
     void *user;
     NCDModuleProcess_handler_event handler_event;