Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove duplicate switch cases for code clarity (#303)
If there are multiple switch cases, only the earliest one is used. On line 444 of SQLProcessor, `case ';'` was a `continue 2;` instead. Detected via static analysis
- Loading branch information
1 parent
a4ad4ea
commit 28ff145
Showing
2 changed files
with
0 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -494,7 +494,6 @@ public function process($tokens) { | |
|
||
case '': | ||
case ',': | ||
case ';': | ||
break; | ||
|
||
default: | ||
|