Bug #77539
closedJavascript warning in Firefox 48 console: "unreachable code after return statement"
100%
Description
On line 263 in TYPO3.CMS/typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.evalfield.js there is unreacheable code:
261 if (value=="") { 262 return ""; 263 return 0; // Why would I ever return a zero??? (20/12/01) 264 }
Solution: Remove line 263.
PS: According to the comment on line 263, it would seem the unreachable code has there for years.
Updated by Gerrit Code Review about 8 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49565
Updated by Gerrit Code Review about 8 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49565
Updated by Gerrit Code Review about 8 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49565
Updated by Gerrit Code Review about 8 years ago
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49569
Updated by Wouter Wolters about 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset edf835637454938bf3d4c97151d49f960b4ebdcc.