Procházet zdrojové kódy

ncd: NCDModule: add WARN_UNUSED to NCDModuleProcess_Init()

ambrop7 před 14 roky
rodič
revize
13717bfb28
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      ncd/NCDModule.h

+ 1 - 1
ncd/NCDModule.h

@@ -416,7 +416,7 @@ void NCDModuleInst_Backend_SetError (NCDModuleInst *n);
  *                      interpreter
  * @return 1 on success, 0 on failure
  */
-int NCDModuleProcess_Init (NCDModuleProcess *o, NCDModuleInst *n, const char *template_name, NCDValue args, void *user, NCDModuleProcess_handler_event handler_event);
+int NCDModuleProcess_Init (NCDModuleProcess *o, NCDModuleInst *n, const char *template_name, NCDValue args, void *user, NCDModuleProcess_handler_event handler_event) WARN_UNUSED;
 
 /**
  * Frees the process.