remove redundant getSubField

This commit is contained in:
Michael Davidsaver
2016-01-25 13:14:48 -05:00
parent a34c38c9b9
commit 93c7a05dac

View File

@@ -348,7 +348,7 @@ bool PVCopy::init(epics::pvData::PVStructurePtr const &pvRequest)
if(len==string::npos) entireMaster = true;
if(len==0) entireMaster = true;
PVStructurePtr pvOptions;
if(len==1 && pvRequest->getSubField<PVStructure>("_options")) {
if(len==1) {
pvOptions = pvRequest->getSubField<PVStructure>("_options");
}
if(entireMaster) {