bramus / mixed-content-scan

Scan your HTTPS-enabled website for Mixed Content
MIT License
522 stars 51 forks source link

Remove unused variable #41

Closed hansott closed 8 years ago

bramus commented 8 years ago

Looking at the code, it looks like the variable can be removed all together: https://github.com/hansott/mixed-content-scan/blob/b05cd299ff8a27de2192ae199ae64f3844f37b4d/src/Scanner.php#L272 is quite useless as false already may have been returned (and $ignorePatternMatched will always remain false)