Kaynağa Gözat

ncd: NCDInterpProg: remove unused variable

ambrop7 13 yıl önce
ebeveyn
işleme
98b90be2b7
2 değiştirilmiş dosya ile 0 ekleme ve 2 silme
  1. 0 1
      ncd/NCDInterpProg.c
  2. 0 1
      ncd/NCDInterpProg.h

+ 0 - 1
ncd/NCDInterpProg.c

@@ -71,7 +71,6 @@ int NCDInterpProg_Init (NCDInterpProg *o, NCDProgram *prog, NCDPlaceholderDb *pd
         struct NCDInterpProg__process *e = &o->procs[o->num_procs];
         
         e->name = NCDProcess_Name(p);
-        e->proc = p;
         
         if (!NCDInterpProcess_Init(&e->iprocess, p, pdb, module_index, method_index)) {
             BLog(BLOG_ERROR, "NCDInterpProcess_Init failed");

+ 0 - 1
ncd/NCDInterpProg.h

@@ -38,7 +38,6 @@
 
 struct NCDInterpProg__process {
     const char *name;
-    NCDProcess *proc;
     NCDInterpProcess iprocess;
     int hash_next;
 };