Explorar o código

ncd: NCDModule: add WARN_UNUSED to NCDModuleProcess_Init()

ambrop7 %!s(int64=14) %!d(string=hai) anos
pai
achega
13717bfb28
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.