diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2014-12-04 15:16:55 +0100 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2014-12-04 15:16:55 +0100 |
commit | 00a5e1af73862b1b1aa29b5a07fe43f80f29c764 (patch) | |
tree | d71b62892da569c61ed1ca74cc6ef581d9bff248 /checklink/Check.ml | |
parent | 114b2b5634a97e60e2590d20eac072594d846206 (diff) | |
download | compcert-kvx-00a5e1af73862b1b1aa29b5a07fe43f80f29c764.tar.gz compcert-kvx-00a5e1af73862b1b1aa29b5a07fe43f80f29c764.zip |
Removed unused variable and changed the search for the installation directory. Use Sys.executable_name instead of Sys.argv.(0).
Diffstat (limited to 'checklink/Check.ml')
-rw-r--r-- | checklink/Check.ml | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/checklink/Check.ml b/checklink/Check.ml index 0876f881..c99a4db4 100644 --- a/checklink/Check.ml +++ b/checklink/Check.ml @@ -536,11 +536,6 @@ let check_label_existence ffw = *) let rec match_jmptbl lbllist vaddr size ffw = let atom = Hashtbl.find ffw.sf.atoms ffw.this_ident in - let jmptbl_section = - match atom.a_sections with - | [_; _; j] -> j - | _ -> Section_jumptable - in let rec match_jmptbl_aux lbllist bs ffw = match lbllist with | [] -> OK ffw |