summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-12 18:35:37 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-12 18:35:37 +0000
commite74073af3c4ad6b8e890d07aef3ff2cdd23f9b20 (patch)
tree1c15ee520575528954738712a770d0d9e33bc4db /chrome/browser/net
parente2a979a6611a94eae443746e1733d78e5d5f8682 (diff)
downloadchromium_src-e74073af3c4ad6b8e890d07aef3ff2cdd23f9b20.zip
chromium_src-e74073af3c4ad6b8e890d07aef3ff2cdd23f9b20.tar.gz
chromium_src-e74073af3c4ad6b8e890d07aef3ff2cdd23f9b20.tar.bz2
Fix unused variable on GCC.
TBR=wtc http://crbug.com/18697 Review URL: http://codereview.chromium.org/164410 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23194 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net')
-rw-r--r--chrome/browser/net/chrome_url_request_context.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/net/chrome_url_request_context.cc b/chrome/browser/net/chrome_url_request_context.cc
index 0511926..bb22ce9 100644
--- a/chrome/browser/net/chrome_url_request_context.cc
+++ b/chrome/browser/net/chrome_url_request_context.cc
@@ -207,11 +207,10 @@ ChromeURLRequestContext* ChromeURLRequestContext::CreateOffTheRecord(
new net::HttpCache(context->host_resolver_, context->proxy_service_, 0);
context->cookie_store_ = new net::CookieMonster;
- const CommandLine& command_line = *CommandLine::ForCurrentProcess();
-
// The kNewFtp switch is Windows specific because we have multiple FTP
// implementations on Windows.
#if defined(OS_WIN)
+ const CommandLine& command_line = *CommandLine::ForCurrentProcess();
if (command_line.HasSwitch(switches::kNewFtp))
context->ftp_transaction_factory_ =
new net::FtpNetworkLayer(context->host_resolver_);