From 1d51882f44178fb5bdbf6a7f31e435c9d6de652a Mon Sep 17 00:00:00 2001 From: "hans@chromium.org" Date: Tue, 12 Nov 2013 01:59:02 +0000 Subject: Fixes for -Wunused-function on Linux, Android and ChromeOS BUG=315884, 78045 TBR=owners Review URL: https://codereview.chromium.org/67923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234373 0039d316-1c4b-4281-b951-d872f2087c98 --- net/test/python_utils.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'net/test') diff --git a/net/test/python_utils.cc b/net/test/python_utils.cc index a9ac98b..bf66bea 100644 --- a/net/test/python_utils.cc +++ b/net/test/python_utils.cc @@ -41,6 +41,7 @@ void AppendToPythonPath(const base::FilePath& dir) { namespace { +#if defined(OS_MACOSX) || defined(OS_CHROMEOS) // Search for |to_try|, rolling up the directory tree from // |start_dir|. If found, return true and put the path to |to_try| in // |out_dir|. If not, return false and leave |out_dir| untouched. @@ -59,6 +60,7 @@ bool TryRelativeToDir(const base::FilePath& start_dir, *out_dir = dir; return true; } +#endif // defined(OS_MACOSX) || defined(OS_CHROMEOS) } // namespace -- cgit v1.1