PVStructure compare typo

This commit is contained in:
Michael Davidsaver
2013-04-22 15:47:51 -04:00
parent 704007092c
commit f72c5dba84

View File

@@ -1633,7 +1633,7 @@ static bool structureArrayEquals(PVStructureArray *a,PVStructureArray *b)
static bool structureEquals(PVStructure *a,PVStructure *b)
{
StructureConstPtr aStructure = a->getStructure();
StructureConstPtr bStructure = a->getStructure();
StructureConstPtr bStructure = b->getStructure();
size_t length = aStructure->getNumberFields();
if(length!=bStructure->getNumberFields()) return false;
PVFieldPtrArray const & aFields = a->getPVFields();