From e19adfb32e1947608f19578699c2ecb3fa5930d5 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 17 Jul 2017 17:48:51 +0200 Subject: Delete unused function in process-wrapper-options.cc Change-Id: Idbbf4662b96508c40c6f530ce5609faa079f0976 PiperOrigin-RevId: 162218592 --- src/main/tools/process-wrapper-options.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main/tools/process-wrapper-options.cc b/src/main/tools/process-wrapper-options.cc index cd03628b45..94b66d1536 100644 --- a/src/main/tools/process-wrapper-options.cc +++ b/src/main/tools/process-wrapper-options.cc @@ -50,13 +50,6 @@ static void Usage(char *program_name, const char *fmt, ...) { exit(EXIT_FAILURE); } -static void ValidateIsAbsolutePath(char *path, char *program_name, char flag) { - if (path[0] != '/') { - Usage(program_name, "The -%c option must be used with absolute paths only.", - flag); - } -} - // Parses command line flags from an argv array and puts the results into the // global `opt` struct. static void ParseCommandLine(const std::vector &args) { -- cgit v1.2.3