Project

General

Profile

Actions

Bug #23603

closed

Uninitialized variables in t3lib

Added by Oliver Klee about 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
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

t3lib_undefinded_trunk_and_44.diff (13.9 KB) t3lib_undefinded_trunk_and_44.diff Administrator Admin, 2010-09-24 18:32
t3lib_undefinded_43.diff (11.1 KB) t3lib_undefinded_43.diff Administrator Admin, 2010-09-24 18:32
15799_v2_trunk.diff (12.8 KB) 15799_v2_trunk.diff Administrator Admin, 2010-09-24 20:09
15799_v2_44.diff (12.3 KB) 15799_v2_44.diff Administrator Admin, 2010-09-24 20:09
15799_v2_43.diff (10.4 KB) 15799_v2_43.diff Administrator Admin, 2010-09-24 20:09
Actions

Also available in: Atom PDF