commit | 9b0be80364da19622749e50c10c64e3bf74b3432 | [log] [tgz] |
---|---|---|
author | Lei Zhang <[email protected]> | Tue May 05 21:11:48 2020 |
committer | Commit Bot <[email protected]> | Tue May 05 21:11:48 2020 |
tree | ec5141e42146e6957539082c93cde061eae5600d | |
parent | c013c1c126bec86448624877dbdd9dcaf4bf764c [diff] [blame] |
Do not initialize std::string to empty string. Clean up base, chrome, and content. Do the same for base::string16 and std::wstring. Change-Id: If513d114ac0fee151f9ae2f21261c477761b7a3c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2181525 Commit-Queue: Lei Zhang <[email protected]> Reviewed-by: Avi Drissman <[email protected]> Cr-Commit-Position: refs/heads/master@{#765751}
diff --git a/chrome/browser/shell_integration_linux.cc b/chrome/browser/shell_integration_linux.cc index 8f8f6b8..45de05f87 100644 --- a/chrome/browser/shell_integration_linux.cc +++ b/chrome/browser/shell_integration_linux.cc
@@ -234,7 +234,7 @@ const base::CommandLine& command_line) { // http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html - std::string quoted_path = ""; + std::string quoted_path; const base::CommandLine::StringVector& argv = command_line.argv(); for (auto i = argv.begin(); i != argv.end(); ++i) { if (i != argv.begin())