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:
parent
20d64ef781
commit
5a184d8d1e
1 changed files with 2 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue