summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-26 00:06:42 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-26 00:06:42 +0000
commit095ccbe48d523005682353510c526f5310e5b01d (patch)
tree24d536b774a2221ed92350497fffa98c9dc0a349 /net
parentbf98a0e1aede4510b84af40ee727d0cd6c8755f9 (diff)
downloadchromium_src-095ccbe48d523005682353510c526f5310e5b01d.zip
chromium_src-095ccbe48d523005682353510c526f5310e5b01d.tar.gz
chromium_src-095ccbe48d523005682353510c526f5310e5b01d.tar.bz2
Clean up remaining unused globals (on mac).
Found by clang's new -Wunused-const-variable. BUG=290204 R=akalin@chromium.org, jamesr@chromium.org, koz@chromium.org, piman@chromium.org, sergeyu@chromium.org, thestig@chromium.org, vitalybuka@chromium.org TBR=cpu, dmichael, joi, xhwang Review URL: https://codereview.chromium.org/24579003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225281 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/tools/dump_cache/dump_cache.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/tools/dump_cache/dump_cache.cc b/net/tools/dump_cache/dump_cache.cc
index dd423b7..d4ccc29 100644
--- a/net/tools/dump_cache/dump_cache.cc
+++ b/net/tools/dump_cache/dump_cache.cc
@@ -32,6 +32,7 @@ enum Errors {
TOOL_NOT_FOUND,
};
+#if defined(OS_WIN)
const char kUpgradeHelp[] =
"\nIn order to use the upgrade function, a version of this tool that\n"
"understands the file format of the files to upgrade is needed. For\n"
@@ -39,6 +40,7 @@ const char kUpgradeHelp[] =
"a version of this program that was compiled with version 3.4 has to be\n"
"located beside this executable, and named dump_cache_3.exe, and this\n"
"executable should be compiled with version 5.2 being the current one.";
+#endif // defined(OS_WIN)
// Folders to read and write cache files.
const char kInputPath[] = "input";
@@ -58,7 +60,9 @@ const char kUpgrade[] = "upgrade";
// Internal use:
const char kSlave[] = "slave";
+#if defined(OS_WIN)
const char kPipe[] = "pipe";
+#endif // defined(OS_WIN)
int Help() {
printf("warning: input files are modified by this tool\n");