1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-26 08:42:40 +01:00

Fix implicit fallthrough in arc

Summary: Raised by new linter.

Test Plan: Lint/inspection.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1831
This commit is contained in:
epriestley 2012-03-09 08:57:03 -08:00
parent bdfc021d39
commit fba87a5b6a
2 changed files with 2 additions and 0 deletions

View file

@ -1460,6 +1460,7 @@ final class ArcanistXHPASTLinter extends ArcanistLinter {
default: default:
$key = null; $key = null;
break;
} }
if ($key !== null) { if ($key !== null) {

View file

@ -305,6 +305,7 @@ final class ArcanistDiffParser {
break; break;
default: default:
$this->didFailParse("Unknown diff type."); $this->didFailParse("Unknown diff type.");
break;
} }
} while ($this->getLine() !== null); } while ($this->getLine() !== null);