Commit 4afe0883 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 736036 - [PATCH] Remove redundant local variable initialization in qtools/qstring.cpp

parent 33daf7a7
...@@ -11499,9 +11499,9 @@ static inline bool format(QChar::Decomposition tag, QString & str, ...@@ -11499,9 +11499,9 @@ static inline bool format(QChar::Decomposition tag, QString & str,
unsigned int l = index + len; unsigned int l = index + len;
unsigned int r = index; 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::Dual) ||
(str[(int)l].joining() == QChar::Right))); (str[(int)l].joining() == QChar::Right)));
if (r > 0) { if (r > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment