Actions
Bug #23603
closedUninitialized variables in t3lib
Start date:
2010-09-24
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
There are some uninitialized variables in some t3lib classes for several reasons:
- variable doesn't exist at all > replace with sane default value wrong variable > replace with correct variable typo -> fix
In addition, I've removed some commented-out code and dropped one useless self-assignment.
All these warnings have been detected by my IDE.
(issue imported from #M15799)
Files
Updated by Georg Ringer about 14 years ago
does "if (TRUE) {" really make sense?
Updated by Oliver Klee about 14 years ago
I wanted to keep the changeset as small as possible. I propose we drop the condition (causing all the code inside the condition to change its indention) in a separate follow-up patch.
Actions