aboutsummaryrefslogtreecommitdiff
path: root/plugins/funind
diff options
context:
space:
mode:
authorGaëtan Gilbert2019-07-03 10:12:04 +0200
committerGaëtan Gilbert2019-07-03 17:05:29 +0200
commit6e22817c6dab5043f1bdcbb1a1c8da281d4b3d7b (patch)
tree94b89889210aa81e22208de97d90271e797a99be /plugins/funind
parentbffe3e43a51420293960cc3c32845687bdee5f9b (diff)
declare_variable: path is always Lib.cwd()
Diffstat (limited to 'plugins/funind')
-rw-r--r--plugins/funind/indfun_common.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/funind/indfun_common.ml b/plugins/funind/indfun_common.ml
index ca19116ef0..c906670dc0 100644
--- a/plugins/funind/indfun_common.ml
+++ b/plugins/funind/indfun_common.ml
@@ -128,7 +128,7 @@ let save name const ?hook uctx scope kind =
let r = match scope with
| Discharge ->
let c = SectionLocalDef const in
- let () = declare_variable ~name ~kind (Lib.cwd(), c) in
+ let () = declare_variable ~name ~kind c in
VarRef name
| Global local ->
let kn = declare_constant ~name ~kind ~local (DefinitionEntry const) in