Handle if building with hook script but no script path

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2022-11-07 19:04:59 +01:00
1 parent d810ac00bc
commit 0e70bdbf6a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -195,7 +195,7 @@ int plugin_exists(hook_point_t no)
return 0;
}
#ifdef HAVE_HOOK_SCRIPTS_PLUGIN
#if defined(HAVE_HOOK_SCRIPTS_PLUGIN) && defined(PLUGIN_HOOK_SCRIPTS_PATH)
#define CHOOSE(x, y) y
static const char *hscript_paths[] = HOOK_TYPES;
#undef CHOOSE