From 1e256b9db420c7b6de1fca652c0a6384a47cf29e Mon Sep 17 00:00:00 2001 From: Brandon Date: Fri, 10 Jan 2025 11:23:50 -0800 Subject: [PATCH] ASITiger: remove unused string streams from AxisPolarity properties --- DeviceAdapters/ASITiger/ASILens.cpp | 1 - DeviceAdapters/ASITiger/ASIPiezo.cpp | 1 - DeviceAdapters/ASITiger/ASIScanner.cpp | 4 ---- DeviceAdapters/ASITiger/ASIXYStage.cpp | 4 ---- DeviceAdapters/ASITiger/ASIZStage.cpp | 2 -- 5 files changed, 12 deletions(-) diff --git a/DeviceAdapters/ASITiger/ASILens.cpp b/DeviceAdapters/ASITiger/ASILens.cpp index 08271d206..690bb1fab 100644 --- a/DeviceAdapters/ASITiger/ASILens.cpp +++ b/DeviceAdapters/ASITiger/ASILens.cpp @@ -970,7 +970,6 @@ int CLens::OnWheelMirror(MM::PropertyBase* pProp, MM::ActionType eAct) int CLens::OnAxisPolarity(MM::PropertyBase* pProp, MM::ActionType eAct) { - ostringstream command; command.str(""); if (eAct == MM::BeforeGet) { // do nothing diff --git a/DeviceAdapters/ASITiger/ASIPiezo.cpp b/DeviceAdapters/ASITiger/ASIPiezo.cpp index 7acd0e819..a282d619d 100644 --- a/DeviceAdapters/ASITiger/ASIPiezo.cpp +++ b/DeviceAdapters/ASITiger/ASIPiezo.cpp @@ -1059,7 +1059,6 @@ int CPiezo::OnWheelMirror(MM::PropertyBase* pProp, MM::ActionType eAct) int CPiezo::OnAxisPolarity(MM::PropertyBase* pProp, MM::ActionType eAct) { - ostringstream command; command.str(""); if (eAct == MM::BeforeGet) { // do nothing diff --git a/DeviceAdapters/ASITiger/ASIScanner.cpp b/DeviceAdapters/ASITiger/ASIScanner.cpp index 852b48e99..36ea9d514 100644 --- a/DeviceAdapters/ASITiger/ASIScanner.cpp +++ b/DeviceAdapters/ASITiger/ASIScanner.cpp @@ -2748,8 +2748,6 @@ int CScanner::OnWheelMirror(MM::PropertyBase* pProp, MM::ActionType eAct) int CScanner::OnAxisPolarityX(MM::PropertyBase* pProp, MM::ActionType eAct) { - ostringstream command; command.str(""); - ostringstream response; response.str(""); if (eAct == MM::BeforeGet) { // do nothing @@ -2768,8 +2766,6 @@ int CScanner::OnAxisPolarityX(MM::PropertyBase* pProp, MM::ActionType eAct) int CScanner::OnAxisPolarityY(MM::PropertyBase* pProp, MM::ActionType eAct) { - ostringstream command; command.str(""); - ostringstream response; response.str(""); if (eAct == MM::BeforeGet) { // do nothing diff --git a/DeviceAdapters/ASITiger/ASIXYStage.cpp b/DeviceAdapters/ASITiger/ASIXYStage.cpp index be136371a..5b3375e98 100644 --- a/DeviceAdapters/ASITiger/ASIXYStage.cpp +++ b/DeviceAdapters/ASITiger/ASIXYStage.cpp @@ -1751,8 +1751,6 @@ int CXYStage::OnNrExtraMoveReps(MM::PropertyBase* pProp, MM::ActionType eAct) int CXYStage::OnAxisPolarityX(MM::PropertyBase* pProp, MM::ActionType eAct) { - ostringstream command; command.str(""); - ostringstream response; response.str(""); if (eAct == MM::BeforeGet) { // do nothing @@ -1771,8 +1769,6 @@ int CXYStage::OnAxisPolarityX(MM::PropertyBase* pProp, MM::ActionType eAct) int CXYStage::OnAxisPolarityY(MM::PropertyBase* pProp, MM::ActionType eAct) { - ostringstream command; command.str(""); - ostringstream response; response.str(""); if (eAct == MM::BeforeGet) { // do nothing diff --git a/DeviceAdapters/ASITiger/ASIZStage.cpp b/DeviceAdapters/ASITiger/ASIZStage.cpp index b1d8208f4..2396ee6a1 100644 --- a/DeviceAdapters/ASITiger/ASIZStage.cpp +++ b/DeviceAdapters/ASITiger/ASIZStage.cpp @@ -1526,8 +1526,6 @@ int CZStage::OnWheelMirror(MM::PropertyBase* pProp, MM::ActionType eAct) int CZStage::OnAxisPolarity(MM::PropertyBase* pProp, MM::ActionType eAct) { - ostringstream command; command.str(""); - ostringstream response; response.str(""); if (eAct == MM::BeforeGet) { // do nothing