From fcda6e25b4f16d36ea0644d06278570eeac55dab Mon Sep 17 00:00:00 2001 From: Lucian Wischik Date: Thu, 15 Jul 2021 16:10:59 -0700 Subject: [PATCH] dead code - FileInfo.print_names Summary: This function isn't used anywhere. Reviewed By: dabek Differential Revision: D29682633 fbshipit-source-id: 9f8a2683729f847a956ed63a35b4df485ed34bc8 --- hphp/hack/src/deps/fileInfo.ml | 13 ------------- hphp/hack/src/deps/fileInfo.mli | 2 -- 2 files changed, 15 deletions(-) diff --git a/hphp/hack/src/deps/fileInfo.ml b/hphp/hack/src/deps/fileInfo.ml index 37eb1b6f99a..33d1cbe1fa9 100644 --- a/hphp/hack/src/deps/fileInfo.ml +++ b/hphp/hack/src/deps/fileInfo.ml @@ -258,19 +258,6 @@ let merge_names t_names1 t_names2 = n_consts = SSet.union n_consts t_names2.n_consts; } -let print_names name = - Printf.printf "Funs:\n"; - SSet.iter (Printf.printf "\t%s\n") name.n_funs; - Printf.printf "Classes:\n"; - SSet.iter (Printf.printf "\t%s\n") name.n_classes; - Printf.printf "Types:\n"; - SSet.iter (Printf.printf "\t%s\n") name.n_types; - Printf.printf "Consts:\n"; - SSet.iter (Printf.printf "\t%s\n") name.n_consts; - Printf.printf "\n"; - Out_channel.flush stdout; - () - let to_string fast = [ ("funs", fast.funs); diff --git a/hphp/hack/src/deps/fileInfo.mli b/hphp/hack/src/deps/fileInfo.mli index 3d53fb48558..8b99e9e3c9f 100644 --- a/hphp/hack/src/deps/fileInfo.mli +++ b/hphp/hack/src/deps/fileInfo.mli @@ -112,8 +112,6 @@ val simplify : t -> names val merge_names : names -> names -> names -val print_names : names -> unit - val to_saved : t -> saved val from_saved : Relative_path.t -> saved -> t -- 2.11.4.GIT