Skip to content

Commit

Permalink
Bug 736036 - [PATCH] Remove redundant local variable initialization i…
Browse files Browse the repository at this point in the history
…n qtools/qstring.cpp
  • Loading branch information
Dimitri van Heesch committed Sep 9, 2014
1 parent 33daf7a commit 4afe088
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qtools/qstring.cpp
Expand Up @@ -11499,9 +11499,9 @@ static inline bool format(QChar::Decomposition tag, QString & str,
unsigned int l = index + len;
unsigned int r = index;

bool left = FALSE, right = FALSE;
bool right = FALSE;

left = ((l < str.length()) &&
bool left = ((l < str.length()) &&
((str[(int)l].joining() == QChar::Dual) ||
(str[(int)l].joining() == QChar::Right)));
if (r > 0) {
Expand Down

0 comments on commit 4afe088

Please sign in to comment.