Skip to content

Commit 525b593

Browse files
committed
BUG: Add missing return to SetNewCameraControlParameters
Fixes warning C4715: 'vtkPlusMmfVideoSource::SetNewCameraControlParameters': not all control paths return a value
1 parent 382531f commit 525b593

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/PlusDataCollection/MicrosoftMediaFoundation/vtkPlusMmfVideoSource.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,7 @@ PlusStatus vtkPlusMmfVideoSource::SetNewCameraControlParameters(const vtkPlusCam
755755
// If we are connected and recording, apply the new camera control parameters immediately
756756
return this->InternalApplyCameraControlParameterChange();
757757
}
758+
return PLUS_FAIL;
758759
}
759760

760761
//----------------------------------------------------------------------------

0 commit comments

Comments
 (0)