diff options
author | Pierre Letouzey <pierre.letouzey@inria.fr> | 2015-12-15 17:46:25 +0100 |
---|---|---|
committer | Pierre Letouzey <pierre.letouzey@inria.fr> | 2015-12-15 18:07:47 +0100 |
commit | 3c535011374382bc205a68b1cb59cfa7247d544a (patch) | |
tree | ea4284d56483b42746720df97a33a86471d4888a /plugins/extraction/common.ml | |
parent | a110ddfd6fc040a805de3f0ec2995b51ff301f5c (diff) |
Extraction: fix a few little glitches with my last commit (replacing unused vars by _)
Diffstat (limited to 'plugins/extraction/common.ml')
-rw-r--r-- | plugins/extraction/common.ml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/extraction/common.ml b/plugins/extraction/common.ml index 97f856944..8cf3b8194 100644 --- a/plugins/extraction/common.ml +++ b/plugins/extraction/common.ml @@ -171,10 +171,7 @@ let push_vars ids (db,avoid) = let ids',avoid' = rename_vars avoid ids in ids', (ids' @ db, avoid') -let get_db_name n (db,_) = - let id = List.nth db (pred n) in - if Id.equal id dummy_name then Id.of_string "__" else id - +let get_db_name n (db,_) = List.nth db (pred n) (*S Renamings of global objects. *) |