X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Flibrary%2FlibraryClean.ml;h=1b3df75f8e89011a3affc7e3a80e80011e193713;hb=21e21b3b061807035bbd18d29d7a4fd8086ca10d;hp=e59b42227388c433f50b8a5c7c2a95a688a07515;hpb=70aa6dc959dc1d49f751c183367c3b73393c938b;p=helm.git diff --git a/matita/components/library/libraryClean.ml b/matita/components/library/libraryClean.ml index e59b42227..1b3df75f8 100644 --- a/matita/components/library/libraryClean.ml +++ b/matita/components/library/libraryClean.ml @@ -25,16 +25,14 @@ (* $Id$ *) -open Printf - let debug = false let debug_prerr = if debug then prerr_endline else ignore -module HGT = Http_getter_types;; -module HG = Http_getter;; +(*module HGT = Http_getter_types;;*) +(*module HG = Http_getter;;*) (*module UM = UriManager;;*) -let decompile = ref (fun ~baseuri -> assert false);; +let decompile = ref (fun ~baseuri:_ -> assert false);; let set_decompile_cb f = decompile := f;; (* @@ -219,11 +217,12 @@ let moo_root_dir = lazy ( ;; *) -let rec close_db cache_of_processed_baseuri uris next = +let close_db _cache_of_processed_baseuri uris _next = uris (* MATITA 1.0 *) ;; -let clean_baseuris ?(verbose=true) buris = +let clean_baseuris ?verbose:(_=true) _buris = + (* MATITA 1.0 *) () (* let cache_of_processed_baseuri = Hashtbl.create 1024 in let buris = List.map Http_getter_misc.strip_trailing_slash buris in debug_prerr "clean_baseuris called on:"; @@ -248,3 +247,4 @@ let clean_baseuris ?(verbose=true) buris = with Http_getter_types.Key_not_found _ -> ()) (HExtlib.list_uniq (List.fast_sort Pervasives.compare (List.map NUri.baseuri_of_uri l @ buris))) +*)