1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

path: added missing WITH_HOOKS statement to be able to compile without hooks, fixes #240

This commit is contained in:
Sonja Happ 2019-04-04 11:45:08 +02:00
parent 20d64ef781
commit 5a184d8d1e

View file

@ -125,10 +125,11 @@ int path_init(struct path *p)
if (ret)
return ret;
#ifdef WITH_HOOKS
ret = hook_list_init(&p->hooks);
if (ret)
return ret;
#endif
p->_name = NULL;
/* Default values */