Просмотр исходного кода

ncd: NCDModule: add WARN_UNUSED to NCDModuleProcess_Init()

ambrop7 14 лет назад
Родитель
Сommit
13717bfb28
1 измененных файлов с 1 добавлено и 1 удалено
  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.