diff options
author | Benjamin Peterson <bp@benjamin.pe> | 2017-07-17 17:48:51 +0200 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2017-07-18 09:48:57 +0200 |
commit | e19adfb32e1947608f19578699c2ecb3fa5930d5 (patch) | |
tree | 257c729a61a51dca2fa5d185ac194e8fdcc0551e /src/main/tools | |
parent | b4cc95ab78eed564c292c3cdda4f078374714fa4 (diff) |
Delete unused function in process-wrapper-options.cc
Change-Id: Idbbf4662b96508c40c6f530ce5609faa079f0976
PiperOrigin-RevId: 162218592
Diffstat (limited to 'src/main/tools')
-rw-r--r-- | src/main/tools/process-wrapper-options.cc | 7 |
1 files changed, 0 insertions, 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<char *> &args) { |