summaryrefslogtreecommitdiffstats
path: root/jingle
diff options
context:
space:
mode:
authoretienneb@chromium.org <etienneb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-14 01:53:47 +0000
committeretienneb@chromium.org <etienneb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-14 01:53:47 +0000
commit186e9eee101c93870a289205d4a8b0028966e5cb (patch)
treec506350d300495706b45e49c0d97fcf53d3f0657 /jingle
parent69d9f1c214a918363a2290f325177995c61266ed (diff)
downloadchromium_src-186e9eee101c93870a289205d4a8b0028966e5cb.zip
chromium_src-186e9eee101c93870a289205d4a8b0028966e5cb.tar.gz
chromium_src-186e9eee101c93870a289205d4a8b0028966e5cb.tar.bz2
Remove unused variable declaration.
This issue was found by a linter. R=sergeyu@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/23005003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217437 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle')
-rw-r--r--jingle/notifier/listener/push_notifications_subscribe_task.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/jingle/notifier/listener/push_notifications_subscribe_task.cc b/jingle/notifier/listener/push_notifications_subscribe_task.cc
index 33f9949..b069c9e 100644
--- a/jingle/notifier/listener/push_notifications_subscribe_task.cc
+++ b/jingle/notifier/listener/push_notifications_subscribe_task.cc
@@ -43,7 +43,6 @@ int PushNotificationsSubscribeTask::ProcessStart() {
scoped_ptr<buzz::XmlElement> iq_stanza(
MakeSubscriptionMessage(subscriptions_, GetClient()->jid(),
task_id()));
- std::string stanza_str = XmlElementToString(*iq_stanza.get());
DVLOG(1) << "Push notifications: Subscription stanza: "
<< XmlElementToString(*iq_stanza.get());
@@ -61,10 +60,9 @@ int PushNotificationsSubscribeTask::ProcessResponse() {
if (stanza == NULL) {
return STATE_BLOCKED;
}
- std::string stanza_str = XmlElementToString(*stanza);
DVLOG(1) << "Push notifications: Subscription response: "
<< XmlElementToString(*stanza);
- // We've receieved a response to our subscription request.
+ // We've received a response to our subscription request.
if (stanza->HasAttr(buzz::QN_TYPE) &&
stanza->Attr(buzz::QN_TYPE) == buzz::STR_RESULT) {
if (delegate_)