| Index: google_apis/gaia/oauth_request_signer.cc
|
| diff --git a/google_apis/gaia/oauth_request_signer.cc b/google_apis/gaia/oauth_request_signer.cc
|
| index b5d138f391b6270ef14797b6af9b45d516253f4c..9952a6fa8ce73ade169bdcd41d8713823abe7069 100644
|
| --- a/google_apis/gaia/oauth_request_signer.cc
|
| +++ b/google_apis/gaia/oauth_request_signer.cc
|
| @@ -89,7 +89,7 @@ std::string BuildBaseString(const GURL& request_base_url,
|
|
|
| std::string BuildBaseStringParameters(
|
| const OAuthRequestSigner::Parameters& parameters) {
|
| - std::string result = "";
|
| + std::string result;
|
| OAuthRequestSigner::Parameters::const_iterator cursor;
|
| OAuthRequestSigner::Parameters::const_iterator limit;
|
| bool first = true;
|
| @@ -297,7 +297,7 @@ bool SignParameters(const GURL& request_base_url,
|
| // static
|
| bool OAuthRequestSigner::Decode(const std::string& text,
|
| std::string* decoded_text) {
|
| - std::string accumulator = "";
|
| + std::string accumulator;
|
| std::string::const_iterator cursor;
|
| std::string::const_iterator limit;
|
| for (limit = text.end(), cursor = text.begin(); cursor != limit; ++cursor) {
|
| @@ -335,7 +335,7 @@ bool OAuthRequestSigner::Decode(const std::string& text,
|
|
|
| // static
|
| std::string OAuthRequestSigner::Encode(const std::string& text) {
|
| - std::string result = "";
|
| + std::string result;
|
| std::string::const_iterator cursor;
|
| std::string::const_iterator limit;
|
| for (limit = text.end(), cursor = text.begin(); cursor != limit; ++cursor) {
|
|
|