summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/safe_browsing/safe_browsing_util.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_util.cc b/chrome/browser/safe_browsing/safe_browsing_util.cc
index 23effa5..b7cf098 100644
--- a/chrome/browser/safe_browsing/safe_browsing_util.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_util.cc
@@ -252,6 +252,7 @@ void SBEntry::RemovePrefix(int index) {
break;
default:
NOTREACHED();
+ return;
}
char* from = reinterpret_cast<char*>(to) + PrefixSize(type());