Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1706 by [email protected]: Uninitialized valuse usage in ibus-qt
http://code.google.com/p/ibus/issues/detail?id=1706

Please *DO NOT* ask question here! Please use
https://groups.google.com/group/ibus-user

请不要在这里提问,请使用ibus用户讨论组
https://groups.google.com/group/ibus-user

What version of the product are you using? On what operating system?
OS (Linux distributions, UNIX or ...): N/A
Architecture (i386, x86_64): N/A
IBus version: 1.5.6
Input method name and version: ibus-qt-1.3.3
Python version: N/A
dbus version: N/A
dbus-python version: N/A
gtk version (if bug is about gtk applications): N/A
qt version (if bug is about qt applications): 4.8.5

What steps will reproduce the problem?

In src/qibusserializable.cpp
 SerializablePointer
 Serializable::removeAttachment (const QString &key)
 {
     SerializablePointer p = m_attachments.value (key, p);
     if (p)
         m_attachments.remove (key);
     return p;
 }

What is the expected output? What do you see instead?

     SerializablePointer p = m_attachments.value (key, p);
 should be as followings?
     SerializablePointer p = m_attachments.value (key);
 or followings?
     SerializablePointer p;
     p = m_attachments.value (key, p);

Please provide any additional information below.

 heard buid failure with clang.


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en
--- You received this message because you are subscribed to the Google Groups "ibus-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

回复