From 8e2e4b3e8cfd8c4addf9a5a6f8d7c0dd97ab54cc Mon Sep 17 00:00:00 2001 From: Dmitry Lomov Date: Wed, 20 Apr 2016 08:04:17 +0000 Subject: Fix 'unused symbol warnings. Fixes #1156. -- MOS_MIGRATED_REVID=120312138 --- src/main/cpp/blaze.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main') diff --git a/src/main/cpp/blaze.cc b/src/main/cpp/blaze.cc index 6db042054e..85a9aa1483 100644 --- a/src/main/cpp/blaze.cc +++ b/src/main/cpp/blaze.cc @@ -143,6 +143,7 @@ static void InitGlobals() { // Logic +#if !defined(__CYGWIN__) // Returns the canonical form of the base dir given a root and a hashable // string. The resulting dir is composed of the root + md5(hashable) static string GetHashedBaseDir(const string &root, @@ -154,6 +155,7 @@ static string GetHashedBaseDir(const string &root, return root + "/" + digest.String(); } +#else // Builds a shorter output base dir name for Windows. // This MD5s together user name and workspace directory, // and only uses 1/3 of the bits to get 8-char alphanumeric @@ -180,6 +182,7 @@ static string GetHashedBaseDirForWindows(const string &root, coded_name[filename_length] = '\0'; return root + "/" + product_name + "/" + string(coded_name); } +#endif // A devtools_ijar::ZipExtractorProcessor to extract the InstallKeyFile -- cgit v1.2.3