diff options
author | etienneb@chromium.org <etienneb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-07 05:38:44 +0000 |
---|---|---|
committer | etienneb@chromium.org <etienneb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-07 05:38:44 +0000 |
commit | 5d2a7b97199aabdc11fdb812a59ee43dd6a76106 (patch) | |
tree | 00aadeb03112e658e2032a73097deec12c0c119d | |
parent | edf2374e2b85a9cc36e4d291583e1b426fe3a1ba (diff) | |
download | chromium_src-5d2a7b97199aabdc11fdb812a59ee43dd6a76106.zip chromium_src-5d2a7b97199aabdc11fdb812a59ee43dd6a76106.tar.gz chromium_src-5d2a7b97199aabdc11fdb812a59ee43dd6a76106.tar.bz2 |
Remove multiple unused variable declaration.
This issue was found by a linter.
R=jam@chromium.org
BUG=
Review URL: https://chromiumcodereview.appspot.com/22325005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216097 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/automation/testing_automation_provider.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc index a8545a4..a6a3aa6 100644 --- a/chrome/browser/automation/testing_automation_provider.cc +++ b/chrome/browser/automation/testing_automation_provider.cc @@ -4391,7 +4391,6 @@ void TestingAutomationProvider::GetV8HeapStats( IPC::Message* reply_message) { WebContents* web_contents; int tab_index; - std::string error; if (!args->GetInteger("tab_index", &tab_index)) { AutomationJSONReply(this, reply_message).SendError( @@ -4425,7 +4424,6 @@ void TestingAutomationProvider::GetFPS( IPC::Message* reply_message) { WebContents* web_contents; int tab_index; - std::string error; if (!args->GetInteger("tab_index", &tab_index)) { AutomationJSONReply(this, reply_message).SendError( @@ -4794,7 +4792,6 @@ void TestingAutomationProvider::ExecuteJavascriptInRenderView( DictionaryValue* args, IPC::Message* reply_message) { string16 frame_xpath, javascript, extension_id, url_text; - std::string error; int render_process_id, render_view_id; if (!args->GetString("frame_xpath", &frame_xpath)) { AutomationJSONReply(this, reply_message) @@ -5165,7 +5162,7 @@ void TestingAutomationProvider::DeleteCookieInBrowserContext( IPC::Message* reply_message) { AutomationJSONReply reply(this, reply_message); WebContents* web_contents; - std::string cookie_name, error, url_string; + std::string cookie_name, url_string; int windex; bool success = false; if (!args->GetInteger("windex", &windex)) { @@ -5205,7 +5202,7 @@ void TestingAutomationProvider::SetCookieInBrowserContext( IPC::Message* reply_message) { AutomationJSONReply reply(this, reply_message); WebContents* web_contents; - std::string value, error, url_string; + std::string value, url_string; int windex, response_value = -1; if (!args->GetInteger("windex", &windex)) { reply.SendError("'windex' missing or invalid."); |