Coverity PW.MISSING_TYPE_SPECIFIER - CID 10682

Bug #940214 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Qt bindings for libdee
New
Undecided
Unassigned

Bug Description

This bug is exported from the Coverity Integration Manager on Canonical's servers. For information on how this is done please see this website: https://wiki.ubuntu.com/CanonicalProductStrategy/Coverity
CID: 10682
Checker: PW.MISSING_TYPE_SPECIFIER
Category: No category available
CWE definition: No definition available
File: /usr/include/qt4/QtCore/qstring.h
Function: No function name available
Code snippet:
1192
1193 inline QStringRef &QStringRef::operator=(const QString *aString)
1194 { m_string = aString; m_position = 0; m_size = aString?aString->size():0; return *this; }
1195
CID 10682 - PW.MISSING_TYPE_SPECIFIER
explicit type is missing ("int" assumed)
During compilation of file '/tmp/buildd/libqtdee-0.2.4/deelistmodel.cpp'
1196 inline QStringRef::QStringRef(const QString *aString, int aPosition, int aSize)
1197 :m_string(aString), m_position(aPosition), m_size(aSize){}
1198
1199 inline QStringRef::QStringRef(const QString *aString)
1200 :m_string(aString), m_position(0), m_size(aString?aString->size() : 0){}
1201

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.