Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4165)

Unified Diff: chrome/browser/privacy_blacklist/blacklist.cc

Issue 2865003: Working towards -Wextra... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/cocoa/objc_zombie.mm ('k') | chrome/browser/sessions/tab_restore_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/privacy_blacklist/blacklist.cc
===================================================================
--- chrome/browser/privacy_blacklist/blacklist.cc (revision 49807)
+++ chrome/browser/privacy_blacklist/blacklist.cc (working copy)
@@ -43,7 +43,7 @@
while (pattern[p] != '\0' && url[u] != '\0') {
if (pattern[p] == '@') {
- while (pattern[++p] == '@'); // Consecutive @ are redundant.
+ while (pattern[++p] == '@') {} // Consecutive @ are redundant.
if (pattern[p] == '\0')
return true; // Nothing to match after the @.
« no previous file with comments | « chrome/browser/cocoa/objc_zombie.mm ('k') | chrome/browser/sessions/tab_restore_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698