Fix assignment within a Q_ASSERT
This was introduced in 3b844c16e0988b017c67b2329cbe34d4da112b33 and doesn't seem to be right. Change-Id: I1c6a9445996650566d44f223651dd0c855619a88 Fixes: Coverity CID 21589 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
bbded12df3
commit
98008efcf8
@ -504,7 +504,7 @@ void QDBusMetaObjectGenerator::write(QDBusMetaObject *obj)
|
||||
}
|
||||
|
||||
Q_ASSERT(offset == header->methodData + header->methodCount * 5);
|
||||
Q_ASSERT(parametersOffset = header->propertyData);
|
||||
Q_ASSERT(parametersOffset == header->propertyData);
|
||||
Q_ASSERT(signatureOffset == header->methodDBusData + header->methodCount * intsPerMethod);
|
||||
Q_ASSERT(typeidOffset == idata.size());
|
||||
offset += methodParametersDataSize;
|
||||
|
Loading…
x
Reference in New Issue
Block a user