Initialize variable to fix build [-Werror=uninitialized].
The complaining compiler is: gcc version 4.6.3 (crosstool-NG hg+default-ddc327ebaef2) Change-Id: Iae488a89d75492e76a39a326b2db36548f8894d0 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
deb925b1b6
commit
24d926cb8f
@ -410,10 +410,9 @@ static int recode(QString &result, const ushort *begin, const ushort *end, QUrl:
|
|||||||
const ushort *input = begin;
|
const ushort *input = begin;
|
||||||
ushort *output = 0;
|
ushort *output = 0;
|
||||||
|
|
||||||
|
EncodingAction action = EncodeCharacter;
|
||||||
for ( ; input != end; ++input) {
|
for ( ; input != end; ++input) {
|
||||||
ushort c;
|
ushort c;
|
||||||
EncodingAction action;
|
|
||||||
|
|
||||||
// try a run where no change is necessary
|
// try a run where no change is necessary
|
||||||
for ( ; input != end; ++input) {
|
for ( ; input != end; ++input) {
|
||||||
c = *input;
|
c = *input;
|
||||||
|
Loading…
Reference in New Issue
Block a user