[scanner] Remove superfluous cases from switch in ScanEscape

Change-Id: I4d774452e4537ba507bab87ac0a197d17a2f2862
Reviewed-on: https://chromium-review.googlesource.com/c/1494759
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59953}
This commit is contained in:
Toon Verwaest 2019-02-28 16:37:33 +01:00 committed by Commit Bot
parent 3ce662f4e6
commit 506f79b88f

View File

@ -455,9 +455,6 @@ bool Scanner::ScanEscape() {
}
switch (c) {
case '\'': // fall through
case '"' : // fall through
case '\\': break;
case 'b' : c = '\b'; break;
case 'f' : c = '\f'; break;
case 'n' : c = '\n'; break;